Hey guys, so I got a couple requests from some people to make a admin page finder in VB.net and was like "lol why not", so here it is.
Its a extremely simple console application that looks like this:
To use it just type in a url with 'http://' as the prefix and a '/' at the end, and hit enter.
It goes through about 300 different possible admin pages before giving up, and you can add as many more as you would like, its not hard to do at all.
Here is a pastebin link to the source:
http://pastebin.com/ys0zgnQh
Hopefully this will be useful to some people, the code was thrown together in a hour or so, so please don't hate <3
This is for educational purposes only, whatever you do with it is on you!
(Dec 26, 2016 11:26 AM)Owl Wrote: Oh wow did you manually index 367 elements?
lmao yep 🤣
DO NOT DEAL WITH THIS MEMBER
Wouldn't it be better to store the URLs in a text file so the user can also modify it himself? And why not use Uri.Parse or Uri.TryParse instead of having the user enter a perfect URL prefixed with http:// and suffixed with a /? And dispose of the webresponses and stuff you use.
(Dec 26, 2016 02:44 PM)Ninja Wrote: Wouldn't it be better to store the URLs in a text file so the user can also modify it himself? And why not use Uri.Parse or Uri.TryParse instead of having the user enter a perfect URL prefixed with http:// and suffixed with a /? And dispose of the webresponses and stuff you use.
Yeah that all would have been better, but I literally made this in a hour and kept the http:// suffix in for testing and stuff like that. I mainly wanted to test if just putting http:// in the url box and running it would start the bot and it did lol. Guess I just didn't take it out lol. This was just a fun little project I did and will most likely spend more time if I ever wanted to make it something big, or sell it etc.
btw I like your name :)
(Dec 26, 2016 11:27 AM)NinjaLeaks Wrote: lmao yep 🤣
You could of probably shortened it by a lot more.
For example, http://pastebin.com/ys0zgnQh on line 142 and 143, you could just append a file extension via code instead, that way one entry like, admin/index.{extension}
could become
admin/index.html
admin/index.php
admin/index.phtml
admin/index.jsp
admin/index.asp
I see you did repeat yourself a lot, and this approach could save you a ton of lines of code.
(Dec 26, 2016 03:06 PM)+Haze Wrote: You could of probably shortened it by a lot more.
For example, http://pastebin.com/ys0zgnQh on line 142 and 143, you could just append a file extension via code instead, that way one entry like, admin/index.{extension}
could become
admin/index.html
admin/index.php
admin/index.phtml
admin/index.jsp
admin/index.asp
I see you did repeat yourself a lot, and this approach could save you a ton of lines of code.
huh I didn't think about that lol. Thanks for the tip dude ill make sure to implement that later on!
DO NOT DEAL WITH THIS MEMBER
(Dec 26, 2016 02:59 PM)NinjaLeaks Wrote: Yeah that all would have been better, but I literally made this in a hour and kept the http:// suffix in for testing and stuff like that. I mainly wanted to test if just putting http:// in the url box and running it would start the bot and it did lol. Guess I just didn't take it out lol. This was just a fun little project I did and will most likely spend more time if I ever wanted to make it something big, or sell it etc.
btw I like your name :)
Isn't not having to write http:// everytime better for testing?
Does this work on linux ?
-snip-
(Jan 2, 2017 09:07 AM)Last_viking Wrote: Does this work on linux ?
It's possible to compile it on Linux but I'm using Pc so can't confirm for sure.
(Jan 2, 2017 09:07 AM)Last_viking Wrote: Does this work on linux ?
Easily convertible with the use of Mono.
DO NOT DEAL WITH THIS MEMBER
(Jan 2, 2017 09:08 AM)NinjaLeaks Wrote: It's possible to compile it on Linux but I'm using Pc so can't confirm for sure.
Wut..?
(Jan 2, 2017 06:37 PM)Ninja Wrote: Wut..?
He asked if it was possible to compile on linux and I said that I believed so, lol what don't you get?
DO NOT DEAL WITH THIS MEMBER
(Jan 2, 2017 08:46 PM)NinjaLeaks Wrote: He asked if it was possible to compile on linux and I said that I believed so, lol what don't you get?
PC=Computer
it can have linux lol:)
Anyways cool program.
(Jan 3, 2017 06:38 AM)ForceJew Wrote: PC=Computer
it can have linux lol:)
Anyways cool program.
Oh sorry I should have clarified myself xD
I was meaning PC as in I'm running Windows :P
|