From 99d44be8535d8cfe36417a102a72ce344972b57c Mon Sep 17 00:00:00 2001 From: hikiko999 <132985874+hikiko999@users.noreply.github.com> Date: Thu, 14 Mar 2024 17:06:32 -0500 Subject: [PATCH] Patch 01: Fixed core/lib/shell_storm_api/grab.py by changing url names ending in .php to .html --- lib/shell_storm_api/grab.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/shell_storm_api/grab.py b/lib/shell_storm_api/grab.py index 7056ba5..d8ad306 100644 --- a/lib/shell_storm_api/grab.py +++ b/lib/shell_storm_api/grab.py @@ -57,7 +57,7 @@ def _download_shellcode(cli,id,name): else: id = _input('%sshellcode_id%s' % (color.color('blue'), color.color('yellow')), 'int', True) - url = 'http://shell-storm.org/shellcode/files/shellcode-%s.php' % (str(id)) + url = 'http://shell-storm.org/shellcode/files/shellcode-%s.html' % (str(id)) try: if version() is 2: data = urlopen(url).read().rsplit('
')[1].rsplit('')[0]
@@ -80,7 +80,7 @@ def _download_shellcode(cli,id,name):
downloaded_file_output(name, _html_decode(data))
def _grab_all():
- url = 'http://shell-storm.org/shellcode/'
+ url = 'http://shell-storm.org/shellcode/index.html'
try:
if version() is 2:
data = urlopen(url).read().rsplit('\n')
@@ -91,7 +91,7 @@ def _grab_all():
return
for shellcode in data:
if '/shellcode/files/shellcode-' in shellcode:
- id = shellcode.rsplit('