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('
  • ')[1].rsplit('')[0] author = shellcode.rsplit('')[1].rsplit('')[0] info('id: ' + id + ' - ' + title + ' ' + author + '\n')