Skip to content

Commit

Permalink
Removed Redundant Dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-sincek committed Sep 28, 2024
1 parent 41e38fc commit 448594e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ python3 -m pip install --upgrade build

python3 -m build

python3 -m pip install dist/forbidden-12.5-py3-none-any.whl
python3 -m pip install dist/forbidden-12.6-py3-none-any.whl
```

## Single URL
Expand Down Expand Up @@ -427,8 +427,8 @@ Inject at the end of the URL path only if it does not end with forward slash.
],
"cookies": [],
"body": null,
"user_agent": "Forbidden/12.5",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.5' -H 'Host: 127.0.0.1' -X 'GET' 'https://example.com:443/admin'",
"user_agent": "Forbidden/12.6",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.6' -H 'Host: 127.0.0.1' -X 'GET' 'https://example.com:443/admin'",
"code": 200,
"length": 255408
},
Expand All @@ -441,8 +441,8 @@ Inject at the end of the URL path only if it does not end with forward slash.
],
"cookies": [],
"body": null,
"user_agent": "Forbidden/12.5",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.5' -H 'Host: 127.0.0.1:443' -X 'GET' 'https://example.com:443/admin'",
"user_agent": "Forbidden/12.6",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.6' -H 'Host: 127.0.0.1:443' -X 'GET' 'https://example.com:443/admin'",
"code": 200,
"length": 255408
}
Expand All @@ -452,7 +452,7 @@ Inject at the end of the URL path only if it does not end with forward slash.
## Usage

```fundamental
Forbidden v12.5 ( github.com/ivan-sincek/forbidden )
Forbidden v12.6 ( github.com/ivan-sincek/forbidden )
Usage: forbidden -u url -t tests [-f force] [-v values ] [-p path ] [-o out ]
Example: forbidden -u https://example.com/admin -t all [-f POST ] [-v values.txt] [-p /home] [-o results.json]
Expand Down Expand Up @@ -527,7 +527,7 @@ SLEEP
-s, --sleep = 500 | etc.
USER AGENT
User agent to use
Default: Forbidden/12.5
Default: Forbidden/12.6
-a, --user-agent = curl/3.30.1 | random[-all] | etc.
PROXY
Web proxy to use
Expand All @@ -553,7 +553,7 @@ DEBUG
```

```fundamental
Stresser v12.5 ( github.com/ivan-sincek/forbidden )
Stresser v12.6 ( github.com/ivan-sincek/forbidden )
Usage: stresser -u url -dir directory -r repeat -th threads [-f force] [-o out ]
Example: stresser -u https://example.com/secret -dir results -r 1000 -th 200 [-f GET ] [-o results.json]
Expand Down Expand Up @@ -603,7 +603,7 @@ THREADS
-th, --threads = 20 | etc.
USER AGENT
User agent to use
Default: Stresser/12.5
Default: Stresser/12.6
-a, --user-agent = curl/3.30.1 | random[-all] | etc.
PROXY
Web proxy to use
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "forbidden"
version = "12.5"
version = "12.6"
authors = [{ name = "Ivan Sincek" }]
description = "Bypass 4xx HTTP response status codes and more. Based on PycURL and Python Requests."
readme = "README.md"
Expand All @@ -14,7 +14,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
dependencies = ["alive-progress>=3.1.5", "colorama>=0.4.6", "datetime>=5.2", "pycurl>=7.45.2", "pyjwt>=2.7.0", "regex>=2023.8.8", "requests>=2.31.0", "tabulate>=0.9.0", "termcolor>=2.4.0"]
dependencies = ["alive-progress>=3.1.5", "colorama>=0.4.6", "pycurl>=7.45.2", "pyjwt>=2.7.0", "regex>=2023.8.8", "requests>=2.31.0", "tabulate>=0.9.0", "termcolor>=2.4.0"]

[project.urls]
"Homepage" = "https://github.com/ivan-sincek/forbidden"
Expand Down
6 changes: 3 additions & 3 deletions src/forbidden/forbidden.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def write_file(data, out):

# ----------------------------------------

default_user_agent = "Forbidden/12.5"
default_user_agent = "Forbidden/12.6"

def get_all_user_agents():
tmp = []
Expand Down Expand Up @@ -1695,7 +1695,7 @@ def show_results(self):
class MyArgParser(argparse.ArgumentParser):

def print_help(self):
print("Forbidden v12.5 ( github.com/ivan-sincek/forbidden )")
print("Forbidden v12.6 ( github.com/ivan-sincek/forbidden )")
print("")
print("Usage: forbidden -u url -t tests [-f force] [-v values ] [-p path ] [-o out ]")
print("Example: forbidden -u https://example.com/admin -t all [-f POST ] [-v values.txt] [-p /home] [-o results.json]")
Expand Down Expand Up @@ -2043,7 +2043,7 @@ def main():
if validate.run():
print("###########################################################################")
print("# #")
print("# Forbidden v12.5 #")
print("# Forbidden v12.6 #")
print("# by Ivan Sincek #")
print("# #")
print("# Bypass 4xx HTTP response status codes and more. #")
Expand Down
6 changes: 3 additions & 3 deletions src/stresser/stresser.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def write_file(data, out):

# ----------------------------------------

default_user_agent = "Stresser/12.5"
default_user_agent = "Stresser/12.6"

def get_all_user_agents():
tmp = []
Expand Down Expand Up @@ -909,7 +909,7 @@ def show_results(self):
class MyArgParser(argparse.ArgumentParser):

def print_help(self):
print("Stresser v12.5 ( github.com/ivan-sincek/forbidden )")
print("Stresser v12.6 ( github.com/ivan-sincek/forbidden )")
print("")
print("Usage: stresser -u url -dir directory -r repeat -th threads [-f force] [-o out ]")
print("Example: stresser -u https://example.com/secret -dir results -r 1000 -th 200 [-f GET ] [-o results.json]")
Expand Down Expand Up @@ -1192,7 +1192,7 @@ def main():
if validate.run():
print("##########################################################################")
print("# #")
print("# Stresser v12.5 #")
print("# Stresser v12.6 #")
print("# by Ivan Sincek #")
print("# #")
print("# Bypass 4xx HTTP response status codes with stress testing. #")
Expand Down

0 comments on commit 448594e

Please sign in to comment.