Email Report When Sum1 Tries 2 Enter In Ur Admin Cp

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

4 replies · 826 views · started 18 years ago · 1 min read

4 participants
alesh Lead · 604 posts #1

i came up 2 an idea and i made it...

i tried it....

and hey ITS WORKING LOL

anyway heres tht working idea:

i put this code

<?php
/////////another shit made by me LMAO      
$ip = "$REMOTE_ADDR";      
$br = "$HTTP_USER_AGENT";
      
mysql_query("INSERT INTO ibwf_mlog SET action='Admin Cp Hack', details='
[b]Sum1 tried 2 enter in ur Admin Cp:[/b]
[b]Browser: [/b] $br
 [b]IP: [/b] $ip
', actdt='".time()."'");
    
mysql_query("INSERT INTO ibwf_private SET text='Sum1 tried 2 enter in ur Admin Cp', byuid='2', touid='1', unread='1', timesent='".time()."'");

$to = "UR EMAIL ADDRESS";
$headers = "From: [email]noreplay@your.com[/email]";
$subject = "WARNING";
$message = "Sum1 tried 2 enter in ur Admin Cp!!! so hurry up nd do whatever u want 2 lol";

mail ($to, $subject, $message,$headers);

?>

in admin CP

if(!isadmin(getuid_sid($sid)))
  {
    echo "<card id=\"main\" title=\"admin cp\">";
      echo "<p align=\"center\">";
      include("track.php");                <-----------------------------------here
      echo "Ur not fucking Admin bye bye
";
      echo "
";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }

and i like it lol

so 2 the 1 who does nt c wht it does do... it put in mod log a report tht sum1 tried 2 enter in admin cp and it sends me inbox and most important it sends me an email report....lol

its kind of useful if ur not at site lol

anyway this is not useful if ur email company does not send u ur emails as SMS or if u dnt have blackbery device conected 2 gprs lol

since my phone company sends me my emails as SMS its kind of useful 4 me lol

anyway enjoy if u find this useful

btw if sum1 knws how 2 update it more.... pls ur welcome

eeeeerrr....

WhiteWarrior Principal · 1,419 posts #2

Not a good idea really unless you have a aut ban if some tries it because if not anyone can flood your e-mail very easy by pressing refresh. External image (may be gone) but ill give you credit for coming up with ideas lol

alesh Lead · 604 posts #3

Not a good idea really unless you have a aut ban if some tries it because if not anyone can flood your e-mail very easy by pressing refresh. External image (may be gone) but ill give you credit for coming up with ideas lol

yes it can...

but not 4 long cuz i can ban their browser and ip address..

im not thinking about regular lava ban, ip ban but browser/ip ban from my domain at least untill their finger start 2 hurts...

btw im used 2 receive couple houndred SMSes per day.... usualy half by my frends nd half by work lol

eeeeerrr....

l0rdrayven Developer · 83 posts #4

I use autopm function in my site pinoygsm.Net instead of email when someone wants to enter in admincp or mod attempting to ban my account lol..

Not i rip persons off i will also do your arse !

khan Lead · 681 posts #5

i used to use auto suspend the ip n ids those are not staff and tried to enter staff area...its cool.because no one with that ip can able to enter the staff panel untill i get them access lolz.

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