Skip to content

Commit

Permalink
Bug Fix and Version Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-sincek committed Sep 12, 2024
1 parent 7c8606a commit 089d16d
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.2-py3-none-any.whl
python3 -m pip install dist/forbidden-12.3-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.2",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.2' -H 'Host: 127.0.0.1' -X 'GET' 'https://example.com:443/admin'",
"user_agent": "Forbidden/12.3",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.3' -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.2",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.2' -H 'Host: 127.0.0.1:443' -X 'GET' 'https://example.com:443/admin'",
"user_agent": "Forbidden/12.3",
"command": "curl --connect-timeout 60 -m 60 -iskL --max-redirs 10 --path-as-is -A 'Forbidden/12.3' -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.2 ( github.com/ivan-sincek/forbidden )
Forbidden v12.3 ( 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.2
Default: Forbidden/12.3
-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.2 ( github.com/ivan-sincek/forbidden )
Stresser v12.3 ( 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.2
Default: Stresser/12.3
-a, --user-agent = curl/3.30.1 | random[-all] | etc.
PROXY
Web proxy to use
Expand Down
2 changes: 1 addition & 1 deletion 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.2"
version = "12.3"
authors = [{ name = "Ivan Sincek" }]
description = "Bypass 4xx HTTP response status codes and more. Based on PycURL and Python Requests."
readme = "README.md"
Expand Down
8 changes: 4 additions & 4 deletions src/forbidden/forbidden.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

import alive_progress, argparse, base64, colorama, concurrent.futures, copy, datetime, io, json, jwt, os, pycurl, random, regex as re, requests, socket, subprocess, sys, tabulate, tempfile, termcolor, threading, tqdm, urllib.parse
import alive_progress, argparse, base64, colorama, concurrent.futures, copy, datetime, io, json, jwt, os, pycurl, random, regex as re, requests, socket, subprocess, sys, tabulate, tempfile, termcolor, threading, urllib.parse

colorama.init(autoreset = True)

Expand Down Expand Up @@ -334,7 +334,7 @@ def write_file(data, out):

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

default_user_agent = "Forbidden/12.2"
default_user_agent = "Forbidden/12.3"

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.2 ( github.com/ivan-sincek/forbidden )")
print("Forbidden v12.3 ( 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 @@ -2038,7 +2038,7 @@ def main():
if validate.run():
print("###########################################################################")
print("# #")
print("# Forbidden v12.2 #")
print("# Forbidden v12.3 #")
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.2"
default_user_agent = "Stresser/12.3"

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.2 ( github.com/ivan-sincek/forbidden )")
print("Stresser v12.3 ( 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 @@ -1187,7 +1187,7 @@ def main():
if validate.run():
print("##########################################################################")
print("# #")
print("# Stresser v12.2 #")
print("# Stresser v12.3 #")
print("# by Ivan Sincek #")
print("# #")
print("# Bypass 4xx HTTP response status codes with stress testing. #")
Expand Down

0 comments on commit 089d16d

Please sign in to comment.