Commit Graph

115 Commits (master)

Author SHA1 Message Date
Swissky 36eb5a3f4e
Merge pull request #53 from swisskyrepo/v2
V2 - Fixes and new module axfr
2024-06-10 14:57:57 +02:00
Swissky d431d336bf AXFR module - DNS Zone Transfer 2024-06-10 14:56:13 +02:00
Swissky 4e92e88913 Adding verbosity feature 2024-06-09 01:13:53 +02:00
Swissky b2eef12b15 Fix JSON and headers for raw data 2024-06-09 00:52:09 +02:00
Swissky 92146f2bcd Fix XML inject + example 4 2024-06-08 23:29:47 +02:00
Swissky febd5df763 Injection in headers 2024-06-08 21:53:36 +02:00
Swissky 404e0a49aa Adding new contributors to the readme 2024-06-08 21:21:03 +02:00
Swissky d24997464e Fix SyntaxWarning 2024-06-08 20:59:26 +02:00
Swissky 7a04c5bb60 Dockerfile reworked + examples 2024-06-08 20:48:06 +02:00
Swissky 3eacb5d729
Merge pull request #47 from swisskyrepo/dependabot/pip/flask-2.3.2
Bump flask from 1.0.2 to 2.3.2
2024-05-31 12:53:06 +02:00
Swissky f688ec95cc
Merge pull request #49 from sengkyaut/sengkyaut-fix-dirname-add-postgres
fix dirname and add postgres
2023-05-27 21:30:08 +02:00
Seng Kyaut f4680403e9 Add Postgres service 2023-05-27 15:08:02 +06:30
Seng Kyaut aba1919f15 Fix directory name for window 2023-05-27 15:06:14 +06:30
dependabot[bot] 8f61c72847
Bump flask from 1.0.2 to 2.3.2
Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.0.2...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 20:32:38 +00:00
Swissky cd7536ecae
Merge pull request #46 from kxynos/kxynos-patch-fix36-2
Check if param is null
2023-03-29 10:26:51 +02:00
Konstantinos Xynos 36ee7d1f9f
Check if param is null
Fixes issue #36, POST body without param
2023-03-29 00:21:59 +02:00
Swissky 25a0a1ec69
Merge pull request #45 from daniel-corbett/add-elf-check
MINOR: readfiles: check if output is ELF binary
2023-02-10 23:38:37 +01:00
Swissky 147361652e
Merge pull request #44 from daniel-corbett/fix-get-param
BUG/MINOR: requester: fix GET param replacement
2023-02-10 23:37:20 +01:00
Daniel Corbett c980416e9f MINOR: readfiles: check if output is ELF binary
One of the checks for /proc/self/exe returns a binary directly to
terminal, which could print a several MB file out and also can cause
pain within a terminal due to a variety of escape sequences requiring a
"reset" to be performed.

This commit adds a check for ELF magic bytes to determine whether the
output is an ELF binary and if so it avoid writing it to stdout but
still writes it a local file.

Sample output:
```
[INFO]:Reading file : /proc/self/exe
ELF binary found - not printing to stdout
[INFO]:Writing file : /proc/self/exe to 127.0.0.1/_proc_self_exe
```
2023-02-10 14:17:26 -05:00
Daniel Corbett 592af1d187 BUG/MINOR: requester: fix GET param replacement
The specified "param" value should be entirely replaced by the payload.
This seems to work as expected when using POST values as it is entirely
reset. However, the GET value is replaced using regex, which was not
matching the entire value causing the original value to be appended to
the payload. For example, assuming the following value request:

```
GET /?url=https%3A%2F%2Fgoogle.com
```

A sample payload from the readfile module would become:

```
file:///etc/passwd://google.com
```

This is mostly due to the existing regex using a word (\w) match, which
prevents it from parsing "://" (%3A%2F%2F). Generally, query string
params should be properly urlencoded so we should be able to replace
anything after `param=` up until the default delimeter (&).

This is less of an issue if you just set the starting param to a string
(the example in data/request3.txt uses SSRF. However, based on the
provided example within the README, this may not be obvious to new users
and having consistency between starting payloads could be helpful.

This commit switches the regex from a word match (\w) to a negated
character class, matching everything up to the next ampersand (&).
2023-02-10 13:23:30 -05:00
Swissky c11f4efe28
Merge pull request #42 from mbharanya/master
Add HTTP proxy support
2022-03-23 14:22:23 +01:00
MBharanya bb368088f4 Add HTTP proxy support 2022-03-23 11:45:34 +01:00
Swissky d8851aef1c
Merge pull request #41 from Mili-NT/master
Added logging to file for better troubleshooting and fixed complicated format calls
2022-03-17 09:48:39 +01:00
Mili-NT 908775e397 - Added logging to file for better troubleshooting
- Swapped instances of format() to use fstrings for readability, as some of the format calls were convoluted:
    - "".join("%{0:0>2}".format(format(ord(char), "x")) for char in string) => "".join([f"%{ord(char):0>2x}" for char in string])
    - logging.info("Original file length: {}".format('{0:0{1}X}'.format(len(webshell_data),8))) => logging.info(f"Original file length: {len(webshell_data):08X}")

- Added missing 'module launched' message for SMTP
2022-03-16 14:27:30 -04:00
Swissky 490c8a5bc3 Fix FP 2021-07-16 11:02:48 +02:00
Swissky e57714e493 Fix false-positives in modules networkscan and portscan 2021-07-16 11:00:51 +02:00
Swissky c7922ba0ab
Merge pull request #35 from ScarletTeam/master
Allows readfiles module to read specific files specified in a parameter when starting the ssrfmap.py script
2021-02-03 15:20:53 +01:00
Mateus Pimentel d01c58a524 Added the possibility to specify files via the --rflags parameter when using the readfiles module. 2021-02-02 19:42:12 -03:00
Mateus Pimentel 7055df6315 Added the possibility to specify files via the --rflags parameter when using the readfiles module. 2021-02-02 19:34:38 -03:00
Swissky 3efa3e4175
Merge pull request #34 from mashaz/develop
BUGFIX - fix bug when handling `Content-Type`
2021-01-27 19:55:06 +01:00
Mashaz eb6f676848 BUGFIX - fix bug when handling `Content-Type` 2021-01-27 22:51:09 +08:00
Swissky af6f5ecd00
Update FUNDING.yml 2021-01-08 20:48:09 +01:00
Swissky 60d9bbe611
README - Update Rawsec badge 2020-10-06 10:11:30 +02:00
Swissky fbfed08b0b
Merge pull request #25 from xyzkab/fix_parse_method_action_uri
Fix parse method and action uri
2020-01-28 17:31:49 +01:00
xyzkab 394df12bb9 move up content.split, use content[0] on regex.findall 2020-01-28 20:00:04 +07:00
Swissky bb0fe7d9dd
Merge pull request #24 from xyzkab/add_handlers
Add specified handlers
2020-01-09 10:54:03 +01:00
xyzkab 2ffa7985b9 Check handler must have -lport option specified 2020-01-09 09:58:40 +07:00
xyzkab 95b28008e4 remove default value 2020-01-09 09:53:44 +07:00
xyzkab a94dd361a7 Update handlers: add http handler and httpcollaborator module 2020-01-09 00:41:09 +07:00
xyzkab 3d737a7e72 Update handlers: move cmd execution to :listen_command method 2020-01-08 23:44:41 +07:00
xyzkab 9f620d4f33 Update handlers: add default and load_handler method execution 2020-01-08 23:42:52 +07:00
xyzkab 776feac515 set reverse shell as 1 default handler 2020-01-08 23:25:32 +07:00
Swissky 8aac206bae
Merge pull request #23 from xyzkab/fix_missing_get_header
Fix missing header
2020-01-05 22:08:53 +01:00
xyzkab a8cb5999d3 Fix missing header: iterate all items, skip if name/value is empty 2020-01-06 02:23:34 +07:00
Swissky eed342aab9
Merge pull request #22 from xyzkab/fix_nested_params
Fix nested params
2019-12-28 00:49:42 +01:00
xyzkab 453e1b2a2c Fix nested post params
- use urllib.parse.unquote on form data name and value
2019-12-28 03:00:48 +07:00
Swissky b7b0f76afe BUGFIX - Fix for #17 application/json 2019-12-19 20:48:02 +01:00
Swissky 8ffaa5c899
Merge pull request #20 from makim0n/master
Use alpine docker
2019-12-03 13:03:48 +01:00
Maki a8af1c0e0a Use alpine docker 2019-12-03 12:08:43 +01:00
Swissky 3729b8b67f MODULE - AWS Lambda URL 2019-11-06 22:29:56 +01:00