crash.software
Projects
Pull Requests
Issues
Builds
RTSPbrute
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
RTSPbrute
Commits
69b2c90c
🤬
Sign In
Remove default for targets
Woolf
committed
4 years ago
69b2c90c
1 parent
bb07d760
Total 3 files
Show one by one
■
■ ■ ■ ■ ■
rtspbrute/__init__.py
1
1
from pathlib import Path
2
2
3
-
DEFAULT_TARGETS = Path(__file__).parent / "hosts.txt"
4
3
DEFAULT_ROUTES = Path(__file__).parent / "routes.txt"
5
4
DEFAULT_CREDENTIALS = Path(__file__).parent / "credentials.txt"
6
5
All occurrences
rtspbrute/hosts.txt
Diff is too large to be displayed.
■ ■
■ ■
■ ■
rtspbrute/modules/cli/input.py
skipped 1 lines
2
2
from pathlib import Path
3
3
from typing import Any
4
4
5
-
from rtspbrute import DEFAULT_CREDENTIALS, DEFAULT_ROUTES
,
DEFAULT_TARGETS
5
+
from rtspbrute import DEFAULT_CREDENTIALS, DEFAULT_ROUTES
6
6
7
7
8
8
class CustomHelpFormatter(argparse.HelpFormatter):
skipped 32 lines
41
41
"-t",
42
42
"--targets",
43
43
type=file_path,
44
-
default=DEFAULT_TARGETS,
44
+
required=True,
45
45
help="the targets on which to scan for open RTSP streams",
46
46
)
47
47
parser.add_argument(
skipped 50 lines
All occurrences
Please wait...
Page is in error, reload to recover