real 2 code
Ok, well I am a visual basic programmer, so thats what i chose to use to code the bruteforcer. i managed to make it open every single instance, however at about 200 or so open browsers my cpu starts bugging out on me. I need to find a way to close the non-existent pages while only keeping open the one existing page.
If i could pm someone to take a look at my code and help me write the rest of the loop I would appreciate it, or if you can suggest an easier way using visual basic, I'm all open ears.
Thanks all!:D
there's no need to use cURL.
also there is a python one in the code bank… BUT how much did you learn when you used a prefab code.
IMo they should remove them from the code bank. have a spider by all means, but not tailored to the chall, at least make people write the nested loops and set they're own variables.
seriously what the fuck is the point of learning to hack if you're learning to run other people's code. i think i may go and puta an exploit in a python one… hmmm remote shell…..
@richohealey: Couldn't have said it better myself :p
well im the stubborn type and wanted to do it with visual basic after all, so after i finished it with php i went back to my original code and found a way of checking one by one instead of just lobbing all the sites at you at once…and most likely missing the right one
so if there are any other visual basic users out there, they can pm me for help with the code.
-side note, the visual basic format worked better/faster then the php one for me.
Frost_T wrote: well im the stubborn type and wanted to do it with visual basic after all, so after i finished it with php i went back to my original code and found a way of checking one by one instead of just lobbing all the sites at you at once…and most likely missing the right one
so if there are any other visual basic users out there, they can pm me for help with the code.
-side note, the visual basic format worked better/faster then the php one for me.
I did Real 2 using VB, also. I just used the WebBrowser object, imported MSHTML, and ran a loop to browse to each filename (one at a time) and check the source for that "page not found" or whatever shows up. Didn't take long at all to find it. Oh, and if you want to speed it up more, you could just use MSHTML w/o the WebBrowser object, and pull the source directly from the MSHTML document… since you're just navigating to single URLs, MSHTML can handle it alone.
I agree that the source for Real 2 spiders should be removed; I personally enjoyed the learning experience that came with writing my own spider in VB.Net.
thejas wrote: So why did you do it with php first? That points don't mean anything but how much you learnt from this site..don't be so greedy for points, there's no prize at the end, only the knwledge you got
I had already started it in VB before i used the php. when i got stuck using the VB i came here asking for help, and everyone pointed me to the php example in the code bank…so um i wouldn't call that greedy…just following the help people gave me, no?
@ Zephyr, sounds like it would work(well obviously did, you used it ;)), but i simply used a "system.diagnostics.process.start" with a loop…ended up being about 10 lines of code at the end…and yeah put it in a button click event and thats about it…
p.s. if someone feels i should remove my code, let me know…
Frost_T wrote: as you put it, just checked them manually. I set the ontop property of the form to true and as soon as "does not exist" popped up, I just clicked for the next entry. I'd be interested in learning how to automate such applications though, is there any site/article somewhere that you an refer me to?
Well, you'd have to get a decent understanding of MSHTML…
http://msdn.microsoft.com/workshop/browser/mshtml/reference/reference.asp
…understand the WebBrowser object, and understand how to search strings or string objects (like the MSHTML Document object) for values. Learn about the DOM (Document Object Model) used by websites, and then have a look at:
http://renegademinds.com/Default.aspx?tabid=47
If you truly want to understand it, then that's the way to go. If you want a quick cram and don't really want to understand it, though, just check out the last link.