Email Report When Sum1 Tries 2 Enter In Ur Admin Cp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Email Report When Sum1 Tries 2 Enter In Ur Admin Cp

    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
    Code:
    <?php
    /////////another **** made by me LMAO      
    $ip = "$REMOTE_ADDR";      
    $br = "$HTTP_USER_AGENT";
          
    mysql_query("INSERT INTO ibwf_mlog SET action=&#39;Admin Cp Hack&#39;, details=&#39;
    [b]Sum1 tried 2 enter in ur Admin Cp:[/b]
    [b]Browser: [/b] $br
     [b]IP: [/b] $ip
    &#39;, actdt=&#39;".time()."&#39;");
        
    mysql_query("INSERT INTO ibwf_private SET text=&#39;Sum1 tried 2 enter in ur Admin Cp&#39;, byuid=&#39;2&#39;, touid=&#39;1&#39;, unread=&#39;1&#39;, timesent=&#39;".time()."&#39;");
    
    $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
    Code:
    if(!isadmin(getuid_sid($sid)))
      {
        echo "<card id=\"main\" title=\"admin cp\">";
          echo "<p align=\"center\">";
          include("track.php");                <-----------------------------------here
          echo "Ur not ****ing 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
    sigpiceeeeerrr....

    #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. but ill give you credit for coming up with ideas lol

    Comment


      #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. but ill give you credit for coming up with ideas lol[/b]

      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
      sigpiceeeeerrr....

      Comment


        #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..

        Comment


          #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.

          Comment


            #6
            This future will be really good for when u want to get email notification when sumone reply to post or comment on ur stuff
            ________________
            Jacques
            jacques@gw-designs.co.za
            http://coding.biz.tm
            Come join and lets make it a place to learn all the noobies how to code
            __________________

            NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

            Comment

            Working...
            X