Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Legion ~ Arbitrary File Uploading | Tutorial

[img]http://i.minus.com/ieq6viOQ6szdE.gif[/img]


Step 1:
Start off by selecting one of the following dorks and entering it into google or any other web browser.
Code
inurl:upload.php?file= ext:php
inurl:upload?filename= ext:php
inurl:upload.aspx?file= ext:php
inurl:action=upload?file= ext:php

[Image: yiYEfJx.png]


Step 2:
Once you find a website you will see something like this:
Spoiler (Click to View)
You should then upload either a shell or an image to the website by selecting it, then pressing the upload button.

[Image: yiYEfJx.png]


Step 3:
Once you have uploaded your file (shell) the site should be defaced and to your liking.

[Image: yiYEfJx.png]


Credits to Keeper for the dorks.
What if the website has a filter?

You didn't explain how to bypass it.
(Jan 19, 2014 05:01 AM)Ascendon Wrote:  What if the website has a filter?

You didn't explain how to bypass it.

Because he doesn't know how to bypass it.
He steals threads and posts them as his own.
inb4googleshowtobypassandupdatesthreadwithoutcredits
This is the dumbest thread I have ever read. I have seen 1000000's of dorks like this and you just say put in your shell
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]

(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
There's a lot wrong with this thread.

First of all, you aren't even describe why this works, I doubt you even know yourself. Secondly, what if the upload file has filters? Which most do. Thirdly, your dorks make no sense, especially this one:

Code
inurl:upload.aspx?file= ext:php

Here you're telling Google to basically search for the file "upload.aspx" with the extention .php - How the fuck do you expect that to work? This entire thread is a fail. Start reading OP, don't make tutorials on something you don't know!

EDIT: That dork managed to find a shell that someone has uploaded and I'll explain why:

Here is the FULL URL that was found:
Code
http://www.ghfour.com/admin/app/webroot/img/product/Jawa.php?jiko=chmodjiko=shell&action=edit&chdir=/var/www/vhosts/ghfour.com/httpdocs/admin/app/webroot/js/fckeditor/editor/filemanager/connectors/aspx/&file=upload.aspx

See, if you look here. It found the "Jawa.php" file due to your ext:php and then managed to execute the shells file editor on the file "upload.aspx".
(Jan 19, 2014 05:33 AM)outlaw Wrote:  There's a lot wrong with this thread.

First of all, you aren't even describe why this works, I doubt you even know yourself. Secondly, what if the upload file has filters? Which most do. Thirdly, your dorks make no sense, especially this one:

Code
inurl:upload.aspx?file= ext:php

Here you're telling Google to basically search for the file "upload.aspx" with the extention .php - How the fuck do you expect that to work? This entire thread is a fail. Start reading OP, don't make tutorials on something you don't know!

EDIT: That dork managed to find a shell that someone has uploaded and I'll explain why:

Here is the FULL URL that was found:
Code
http://www.ghfour.com/admin/app/webroot/img/product/Jawa.php?jiko=chmodjiko=shell&action=edit&chdir=/var/www/vhosts/ghfour.com/httpdocs/admin/app/webroot/js/fckeditor/editor/filemanager/connectors/aspx/&file=upload.aspx

See, if you look here. It found the "Jawa.php" file due to your ext:php and then managed to execute the shells file editor on the file "upload.aspx".

That asp with php extension reminded me where he got it from

https://hackforums.net/showthread.php?tid=3184197
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]

(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
(Jan 19, 2014 05:43 AM)Sʜᴀᴅᴏᴡ Rᴇᴀʟᴍ Wrote:  That asp with php extension reminded me where he got it from

https://hackforums.net/showthread.php?tid=3184197

Haha, great, so not only he doesn't have a clue what he's talking about, he practically stole the thread from someone who does.
(Jan 19, 2014 05:47 AM)outlaw Wrote:  Haha, great, so not only he doesn't have a clue what he's talking about, he practically stole the thread from someone who does.

He also did the same thing for his deletion one lol

inurl:"delete.php?file=" ext:php
inurl:"delete?filename=" ext:php
inurl:"delete.aspx?file=" ext:php
inurl:"action=delete?file=" ext:php
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]

(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
(Jan 19, 2014 06:01 AM)Sʜᴀᴅᴏᴡ Rᴇᴀʟᴍ Wrote:  He also did the same thing for his deletion one lol

inurl:"delete.php?file=" ext:php
inurl:"delete?filename=" ext:php
inurl:"delete.aspx?file=" ext:php
inurl:"action=delete?file=" ext:php

Yeah I saw. The dork will NOT work though. It's a useless dork.

[Image: 6qmuN.png]
He just basically told us how to upload a file..

We aren't as useless as you are sl0w..
Seriously, Legion need to step up their shit before they keep having retards like this idiot and others putting random shit that nobody cares about up here
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]

(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
(Jan 19, 2014 06:39 AM)Sʜᴀᴅᴏᴡ Rᴇᴀʟᴍ Wrote:  Seriously, Legion need to step up their shit before they keep having retards like this idiot and others putting random shit that nobody cares about up here

Right? Like when Starfall was in Legion. Now it's just full of idiots wanting to be anonmus.
(Jan 19, 2014 06:46 AM)outlaw Wrote:  Right? Like when Starfall was in Legion. Now it's just full of idiots wanting to be anonmus.

Starfall got closed with all that root stuff. I remember the legion skype chat when I was in it and the Skype SE thing was going around and starfall used to either get hacked and then have his whole contact list added to the chat or he just did it for lulz

Long live aush0k
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]

(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
(Jan 19, 2014 06:54 AM)Sʜᴀᴅᴏᴡ Rᴇᴀʟᴍ Wrote:  Starfall got closed with all that root stuff. I remember the legion skype chat when I was in it and the Skype SE thing was going around and starfall used to either get hacked and then have his whole contact list added to the chat or he just did it for lulz

Long live aush0k

Aush0k is a jew, get over it.
long live yolo
(Jan 19, 2014 05:01 AM)Ascendon Wrote:  What if the website has a filter?

You didn't explain how to bypass it.

Because I haven't looked into bypassing the filters. I rarely use this because there are a lot of other things you can use to deface a website.


(Jan 19, 2014 05:33 AM)outlaw Wrote:  There's a lot wrong with this thread.

First of all, you aren't even describe why this works, I doubt you even know yourself. Secondly, what if the upload file has filters? Which most do. Thirdly, your dorks make no sense, especially this one:

Code
inurl:upload.aspx?file= ext:php

Here you're telling Google to basically search for the file "upload.aspx" with the extention .php - How the fuck do you expect that to work? This entire thread is a fail. Start reading OP, don't make tutorials on something you don't know!

EDIT: That dork managed to find a shell that someone has uploaded and I'll explain why:

Here is the FULL URL that was found:
Code
http://www.ghfour.com/admin/app/webroot/img/product/Jawa.php?jiko=chmodjiko=shell&action=edit&chdir=/var/www/vhosts/ghfour.com/httpdocs/admin/app/webroot/js/fckeditor/editor/filemanager/connectors/aspx/&file=upload.aspx

See, if you look here. It found the "Jawa.php" file due to your ext:php and then managed to execute the shells file editor on the file "upload.aspx".

If I didn't understand it, than how could I find a website not used in other tutorials?
I don't need to explain how dorks work. But I will.
Google searches the web for the specific text that you put. So if you put "inurl:Pro Skid Down" then google would find all websites who's url matches the criteria.
Works for a lot more browsers than google.


(Jan 19, 2014 06:46 AM)outlaw Wrote:  Right? Like when Starfall was in Legion. Now it's just full of idiots wanting to be anonmus.

Way to spell anonymous correctly.
Calling me an idiot?


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Elite_xApr 13, 2025 04:44 PM 4 571 Apr 13, 2025 04:44 PM
Last Post: SS2580G
by Dread.ReaperJun 2, 2023 12:49 AM 9 376 Jun 2, 2023 12:49 AM
Last Post: Hanzo91
by Dread.ReaperMay 28, 2023 08:30 AM 1 133 May 28, 2023 08:30 AM
Last Post: Dread.Reaper