| Author |
RE: Exploits! |
p4plus2
Member
Posts: 167
Location:
Joined: 31.03.08 Rank: God |
|
Demons Halo wrote:
The sc blockedript is ready, but there seems to be one tiny little problem! in a smaller exploit list (like 20-30 items) the sc blockedript runes decently fast, but when I use the big list (LOTS OF ITEMS  ) python does not respond xD
Now I was expecting this so the question is: should I set a low time out? or is there a way to make the sc blockedript check if a certain URL exists REALLY FAST?
If it times out on long list of items, why not try separating them into more lists. Then parse the lists in an order and maybe some sort of pause after each list. As lists complete you should also store there results then remove the list from memory. I don't know the details of your scblockedript and nor am I a python master, so these are just my best guesses and advice that I can offer.
"You can't be something your not,
Be yourself by yourself
Stay away from me" ~Walk, Pantera
"Playing an acoustic guitar is like having sex with your clothes on" ~Dave Mustaine
Edited by p4plus2 on 29-06-09 22:01 |
|
| Author |
RE: Exploits! |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
p4plus2 wrote:
Demons Halo wrote:
The scblockedript is ready, but there seems to be one tiny little problem! in a smaller exploit list (like 20-30 items) the scblockedript runes decently fast, but when I use the big list (LOTS OF ITEMS :P) python does not respond xD
Now I was expecting this so the question is: should I set a low time out? or is there a way to make the scblockedript check if a certain URL exists REALLY FAST?
If it times out on long list of items, why not try separating them into more lists. Then parse the lists in an order and maybe some sort of pause after each list. As lists complete you should also store there results then remove the list from memory. I don't know the details of your sc blockedript and nor am I a python master, so these are just my best guesses and advice that I can offer.
I was wworking on that while you wrote this post XD I've devided the big lists into smaller lists, each with certain type of exploits (SQL/php/etc).
yet still I need the scblockedript to go faster.. .any ideas? here comes the most important part of the scblockedript:
from urllib2 import *
exploit_list=[]
result_list=[]
site='http://www.hellboundhackers.org'
f=open("sql_exploits.txt", "r")
for line in f:
exploit_list.append(line)
f.close()
outp=open("results.txt","w")
x=0
for item in exploit_list:
address=site+item
try:
urlopen(address)
except HTTPError:
continue
except URLError:
print address
else:
outp.write(address)
x+=1
print x
outp.close()
The scblockedript takes like 5 sec / exploit line until it times out and goes for the next line in the file. So out of experience, how many ms should I set as a time out limit? 5 secs is damn much / exploit -_-
also who do you think about the code? This is not all of it, yet still it's the most important part ^^
|
|
| Author |
RE: Exploits! |
fashizzlepop
Member

Posts: 482
Location: Old folks home.
Joined: 08.04.08 Rank: Uber Elite |
|
Well you do realize it IS using internet requests so the speed will be based off of your internet connection... I imagine you could send multiple requests and THEN parse the info. That might make it so it doesn't seem to be taking forever for just one exploit.
Another fun thing to do might be to add a function that looks for paths or other error messages so you don't have to look through all of what you receive. That would be helpful for larger lists of exploits.
"The definition of insanity is doing the same thing over and over again and expecting different results.
~Albert Einstein~
 |
|
| Author |
RE: Exploits! |
stealth-
Member

Posts: 998
Location: Eh?
Joined: 10.04.09 Rank: God |
|
Once you finish this, i'm sure it would make a great addition to the code bank.
The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com |
|
| Author |
RE: Exploits! |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
A scblockedript that takes a variable from a text-file, and then make a POST/GET request with that variable? Wonder why this page isn't slashdotted yet. Truly unique scblockedript!

"The chowner of property." - Zeph Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term. - Carl Sagan Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor? - Ebert |
|
| Author |
RE: Exploits! |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
|
fashizzlepop wrote:
Well you do realize it IS using internet requests so the speed will be based off of your internet connection... I imagine you could send multiple requests and THEN parse the info. That might make it so it doesn't seem to be taking forever for just one exploit.
Another fun thing to do might be to add a function that looks for paths or other error messages so you don't have to look through all of what you receive. That would be helpful for larger lists of exploits.
ofc... I'm using 24/1 so speed is not an issue (I guess ).
I thought about using multiple requests, but the problem is that the site would go crazy xD
well the exceptions above (especially HTTPError) are almost the only kind of response bothering me all other responses are worth looking at =D
Edited by Demons Halo on 30-06-09 00:40 |
|
| Author |
RE: Exploits! |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
|
stealth- wrote:
Once you finish this, i'm sure it would make a great addition to the code bank.
I sure hope so 
A scblockedript that takes a variable from a text-file, and then make a POST/GET request with that variable? Wonder why this page isn't slashdotted yet. Truly unique scblockedript!
hahaha we can worry about that type of stuff later on let me get this shit working first properly xD I'm not a pro you know -_-
Edited by Demons Halo on 30-06-09 00:37 |
|
| Author |
RE: Exploits! |
KvK
Member

Posts: 93
Location: EAX
Joined: 17.01.09 Rank: God |
|
Demons Halo wrote:
stealth- wrote:
Once you finish this, i'm sure it would make a great addition to the code bank.
I sure hope so
A scblockedript that takes a variable from a text-file, and then make a POST/GET request with that variable? Wonder why this page isn't slashdotted yet. Truly unique scblockedript!
hahaha we can worry about that type of stuff later on  let me get this shit working first properly xD I'm not a pro you know -_-
Uhh....I'm pretty sure Spyware was being sarcastic. Seriously people, his sarcasm isn't that difficult to comprehend. 
|
|
| Author |
RE: Exploits! |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
KvK wrote:Uhh....I'm pretty sure Spyware was being sarcastic. Seriously people, his sarcasm isn't that difficult to comprehend. 
NOO SHIT REAAAAAAAAAAAALLY?!?!?!?! 
|
|
| Author |
RE: Exploits! |
KvK
Member

Posts: 93
Location: EAX
Joined: 17.01.09 Rank: God |
|
Demons Halo wrote:
KvK wrote:Uhh....I'm pretty sure Spyware was being sarcastic. Seriously people, his sarcasm isn't that difficult to comprehend. 
NOO SHIT  REAAAAAAAAAAAALLY?!?!?!?! 
YES, REALLY!!!!!
|
|
| Author |
RE: Exploits! |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
Wisdom spared is wisdom squared. |
|
| Author |
RE: Exploits! |
spyware
Member

Posts: 4190
Location: The Netherlands
Joined: 14.04.07 Rank: God Warn Level: 90
|
|
|
ranma wrote:
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
"Rank: HBH Guru"

"The chowner of property." - Zeph Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term. - Carl Sagan Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor? - Ebert |
|
| Author |
RE: Exploits! |
Demons Halo
Member

Posts: 261
Location: Sweden
Joined: 26.03.09 Rank: Hacker Level 1 |
|
|
ranma wrote:
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
It takes one line at a time from a file full of URL exploits, and tries them on a given site. If the exploit is something other than a 404 or an invalid URL, it saves the info into a new text file called results.
@ spyware: It's amusing to see you pointing your dick @ ppl you were like a couple years ago xD
I love you man... (L) 
|
|
| Author |
RE: Exploits! |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
spyware wrote:
ranma wrote:
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
"Rank: HBH Guru"
Oh shut up. From his posts I got the feeling he was just saving the urls. I didn't notice he said something other than 404. Makes sense now.
Wisdom spared is wisdom squared. |
|
| Author |
RE: Exploits! |
pimpim
Member

Posts: 45
Location: Reading your /etc/shadow
Joined: 26.10.08 Rank: HBH Guru |
|
ranma wrote:
spyware wrote:
ranma wrote:
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
"Rank: HBH Guru"
Oh shut up. From his posts I got the feeling he was just saving the urls. I didn't notice he said something other than 404. Makes sense now.
I think what spy meant was that a member with the rank "HBH Guru" should be able to understand what a simple Python-scblockedript does by reading the code. 

Edited by pimpim on 30-06-09 19:11 |
|
| Author |
RE: Exploits! |
stealth-
Member

Posts: 998
Location: Eh?
Joined: 10.04.09 Rank: God |
|
spyware wrote:
ranma wrote:
lol, you guys crack me up.
On another note, I don't understand what your scblockedript does exactly. Could you explain?
"Rank: HBH Guru"
heh, spyware is funny. Too bad he never says anything helpful 
*ducks*
The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
Edited by stealth- on 30-06-09 19:19 |
|
| Author |
RE: Exploits! |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
Fine, spyware had a point, but I had one too.
I gave the code a quick scan, not noticing the "except HTTPError" part. Sorry for overlooking it 
Wisdom spared is wisdom squared. |
|