no more shell hacking via lava uploader!!!!!!!!!!

Started on the old forum in August 2010 · view the original in the archive · old links redirect here

40 replies · 250 views · started 16 years ago · 1 min read

Poll no more shell hacking via lava uploader!!!!!!!!!!

  • nup 12% · 2
  • kinda 29% · 5
  • very good 12% · 2
  • excellent!! 47% · 8
Votes over time · 6 Aug – 7 Mar

Votes are anonymous · 17 voters · Sign in to vote.

22 participants
ozziemale31 Lead · 861 posts #1

ok for those who r complaining that ther lava sites are being hacked via php shells i have a solution for u i have remodded the uploader made it so when sumwhen tries bein a script kiddie like MR HUWARD uploading a shell. the file gets renamed which renders it as a non executeable. ie shell.php becomes shell.imahackeridiotwhotriedtouploadaphpfile u can change the words if u like lol what ever.... the aim of the game to to make the php shells non executeables. plus ive included a htaccess code that blocks executables with in that folder its placed in when a shell is uploaded it will still be on yr server untill u deal with it i made this script so it sends all admins an auto inbox alerting them to do sumfn bout the php file that was uploaded.and it also gets reported to the mod log.far as i can see its the most safest uploader ive made for lava based sites things to do is add an auto bann function i can code it in a few mins but most of u noobs shud be capable of doing it yourselfs. please dnt forget to say thanks.

oh and word of advice to stop session stealing remove the http hotlinking function in core.php

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

Attachments: uploader.zip
subzero Super moderator Fellow · 3,954 posts #2

Thanks bro but we try try try to tell them but they all dont listen

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

convictor Developer · 114 posts #4

thanks ozzie, great work

Why cry for a soul set free?

tsinelas Developer · 77 posts #5

i wl ht tnx later..when im on pc

homie get your ass over here!!!

huwad Developer · 215 posts #6

simply add this in htaccess.. lol .. and users can host php files with out executing it..

php_flag engine off

hacking is like sex. you get in, you get out and you pray you left nothing behind.

huwad Developer · 215 posts #8

if im 1 of the staff here, i will ban this user above me.. LOL.. they keep saying to stop fighting, yet the staff is warfreak.. 😊

hacking is like sex. you get in, you get out and you pray you left nothing behind.

shakil420 Developer · 125 posts #10

uploading a shell file! Is it harmful ?i upload it@ mysite.com/wap/sell.php.jpg then nothing happen! Cuz it is then jpg file not php

something else Fellow · 2,296 posts #11

php errors:

$superdat_name = preg_replace(
             '/[^a-zA-Z0-9\.\$\%\'\`\-\@\{\}\~\!\#\(\)\&\_\^]/'
             ,'',str_replace(array(' ','%20',"'","php"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","php4"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","php5"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","xhtml"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","html"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","wml"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
             ,'',str_replace(array(' ','%20',"'","asp"),array('_','_', "","imahackeridiotwhotriedtouploadaphpfile"),$superdat_name));
m4ster_v4 Developer · 125 posts #12

Personally i think,

This uploader can't blok shell at all. Still available for hacking.. Htaccess the most power thing.. Try change 2 extension to 1 extension only.. Like the hacker upload shell name eg: shell.shtml.jpg use explode func and just take last extension, and rename it to shell.jpg.. Done. Then use .Htaccess in 777 folder such as Add handler.. Ok. Good luck.. My site had been hack a few time by 'WHO' and i very proud with him.. Lol..

Visit my WEBSITE Project: http://www.aspirewap.net

i0nutzxp Developer · 150 posts #13

$image_code = strtolower(file_get_contents($_FILES["file"]["tmp_name"])); $_anti_php = substr_count($image_code,"print") + substr_count($image_code,"echo") + substr_count($image_code,"bla bla bal"); if($_anti_php>0)die("kill urself");

<?php unlink('World/Europe/Romania.country'); ?>
ozziemale31 Lead · 861 posts #14

yes it can i added the php extension by puttin it in to allow it as an example. as it said it renames the php extension read the post properly

and if yr server is set up right a php script renamed as a jpg wud be served as a jpg not an executeable n if u look ther is a protection in the folder for blocking file types dum dum

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

something else Fellow · 2,296 posts #15

If you was to name your shell script: shellscript.p%2%200hp.jpg

your script wouldnt stop it from being uploaded and executed

ozziemale31 Lead · 861 posts #16

you obviously dont know how to set up a public uploading folder then http://mobilezonez.net/share/php.png http://mobilezonez.net/share/php.jpg http://mobilezonez.net/share/php.gif

try make those execute then mr smart ass then call me a lier and to stop the php files uploading in this code

if (!eregi("\.(php.jpg|php.jad|php.jar|php.gif)$",$superdat_name)){  

remove those extensions

if  (!eregi("\.()$",$superdat_name)){  

like i said before i made this script to serve a purpose make a php unexecuteable and it works for me if it dont work for u go code yr own crap in future i wont be sharing anymore updates here suck my hairy nut sack i am trying to show ppl how to make there uploader more secure but hey u think yous can do better go ahead.

Added after 4 minutes:

oh and if u have a htaccess in ya share folder with the following

<Files .htaccessl>
Order Deny,Allow
Deny from all
</Files>
RemoveType .pl .cgi .php .gif .php .jpg .php .png.php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml
RemoveHandler .pl .cgi .php .gif .php .jpg .php .png .php .php3 .php4 .php5 .xml .phtml .phtm .html .htm .wml .shtm .shtml

none of those extensions will execute point proven........

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

something else Fellow · 2,296 posts #17

how about shellscript.php.rar shellscript.phtml.jpg

there is so many more extensions that php will execute and so many ways to get around php coding using hex codes you safest bet is to use .htaccess eg:

RemoveHandler application/x-httpd-php .php
<FilesMatch ".(php|php5|php4|php3|phtml|phpt)$">
SetHandler x-httpd-php5-source
</FilesMatch>
<FilesMatch ".phps$">
SetHandler x-httpd-php5-source
</FilesMatch>

this was posted before i seen your additional post (added after 4 mins)

ozziemale31 Lead · 861 posts #18

just add possible files to the htaccess but if any noob thinks they can make a php.gif file execute on my server have gota be friggen kiddn i been coding now for 5-6 years back since the only avail scrips were the cgi scripts

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

vijayakumar Junior · 33 posts #19

today php4m hacked so help .............

how colse hacking ways

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close