Skip to content

Commit

Permalink
Small Update
Browse files Browse the repository at this point in the history
Removing redundant `argparse` dependency. Updated the user agents list. Version Bump.
  • Loading branch information
ivan-sincek committed May 11, 2024
1 parent 96e640c commit debc1ca
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 179 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ python3 -m pip install --upgrade build

python3 -m build

python3 -m pip install dist/forbidden-10.8-py3-none-any.whl
python3 -m pip install dist/forbidden-10.9-py3-none-any.whl
```

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

```fundamental
Forbidden v10.8 ( github.com/ivan-sincek/forbidden )
Forbidden v10.9 ( 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 @@ -470,7 +470,7 @@ SLEEP
-s, --sleep = 500 | etc.
USER AGENT
User agent to use
Default: Forbidden/10.8
Default: Forbidden/10.9
-a, --user-agent = curl/3.30.1 | random[-all] | etc.
PROXY
Web proxy to use
Expand All @@ -484,7 +484,7 @@ DEBUG
```

```fundamental
Stresser v10.8 ( github.com/ivan-sincek/forbidden )
Stresser v10.9 ( 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 @@ -524,7 +524,7 @@ THREADS
-th, --threads = 20 | etc.
USER AGENT
User agent to use
Default: Stresser/10.8
Default: Stresser/10.9
-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 = "10.8"
version = "10.9"
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 = ["argparse>=1.4.0", "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>=1.1.0"]
dependencies = ["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>=1.1.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 @@ -288,7 +288,7 @@ def write_file(data, out):
except FileNotFoundError:
print(("Cannot save results to '{0}'").format(out))

default_user_agent = "Forbidden/10.8"
default_user_agent = "Forbidden/10.9"

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

def print_help(self):
print("Forbidden v10.8 ( github.com/ivan-sincek/forbidden )")
print("Forbidden v10.9 ( 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 @@ -1762,7 +1762,7 @@ def main():
if validate.run():
print("###########################################################################")
print("# #")
print("# Forbidden v10.8 #")
print("# Forbidden v10.9 #")
print("# by Ivan Sincek #")
print("# #")
print("# Bypass 4xx HTTP response status codes and more. #")
Expand Down
Loading

0 comments on commit debc1ca

Please sign in to comment.