Auto banned for attempting hack modcp/admincp
Started on the old forum in May 2009 · view the original in the archive · old links redirect here
Is it really worth adding this code? as anyone who is attemting to get into your admincp this way will either be a muppet or they will know how to bypass isadmin($sid); function. your better off adding* addonline(getuid_sid($sid),"Naughty me im a wannabe hacker lol","");
heres my autoban for sql injection ..... sure u can adjust it to work for admincp
$uid = getuid_sid($sid); $who = getnick_uid($uid); addonline(getuid_sid($sid),"If i register again please ban me straight away!",""); $timeto = 99992460*60; $ptime = $timeto + time(); mysql_query("INSERT INTO ibwf_penalties SET uid='".$uid."', penalty='2', exid='1', timeto='".$ptime."', pnreas='Auto Ban (Wannabe Hacker) ', ipadd='".$uip."', browserm='".$ubr."'"); mysql_query("UPDATE ibwf_users SET lastpnreas='Wannabe Hacker', shield='0' WHERE id='".$uid."'"); mysql_query("INSERT INTO ibwf_mlog SET action='Sql Injection', details='".$who." Tried Injecting Sql', actdt='".time()."'");
bro this code doesnt work
External image (may be gone) WapCHAT Forum Currenltly changing over to xhtml External image (may be gone) My Dowloads Site External image (may be gone)
re
my script has all those features
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 wrote: heres my autoban for sql injection ..... sure u can adjust it to work for admincp
$uid = getuid_sid($sid); $who = getnick_uid($uid); addonline(getuid_sid($sid),"If i register again please ban me straight away!",""); $timeto = 99992460*60; $ptime = $timeto + time(); mysql_query("INSERT INTO ibwf_penalties SET uid='".$uid."', penalty='2', exid='1', timeto='".$ptime."', pnreas='Auto Ban (Wannabe Hacker) ', ipadd='".$uip."', browserm='".$ubr."'"); mysql_query("UPDATE ibwf_users SET lastpnreas='Wannabe Hacker', shield='0' WHERE id='".$uid."'"); mysql_query("INSERT INTO ibwf_mlog SET action='Sql Injection', details='".$who." Tried Injecting Sql', actdt='".time()."'");
huh? that code is pathetic lol......it would be a better shot...if you verify the user input.....and check for possible injection symbols......and if detect, you run your band code.....
R.M.C
PHP Adovocate B)
Blimey Someone Can Code Lol
mcKeny wrote: huh? that code is pathetic lol......it would be a better shot...if you verify the user input.....and check for possible injection symbols......and if detect, you run your band code.....
DUH!!!!!!!
Thats just an auto-ban code which i was saying could be adjust for admincp/modcp auto ban
Sometime You Hit Your Head So Hard Against The Wall Didn`t Realize You Could See The Other Side lol
search here in forum.updated means modded version of lavalair. lol why are people so lazy to read and search on their own..
LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com
don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.