Lavalair Scripting Tools!

Started on the old forum in February 2007 · view the original in the archive · old links redirect here

48 replies · 8,683 views · started 19 years ago · 1 min read

TL;DR · summary of 48 replies
  • - The code to protect against hacking should be placed in admincp.php and admproc.php files.
  • - To block users using the browser "anonimouse.org" and browsers with version 4.0, a redirect script needs to be added where appropriate pages are located.
  • - A ban for anonymous users can be implemented by checking their HTTP_USER_AGENT string and redirecting them to a specific URL if they match certain criteria.
  • - The exact placement of the code in admincp.php or admproc.php depends on how these files are structured within the forum script.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

10 participants
Guest #1

yesterday my site has been hacked by some one. my site is a wap forum. that hacker baned me first and then he baned all in my site. as i think he has attakd by a hacking tool. coz he havent touch data base. could any wap master tel me how to protect my site? wat r the best anti hack tools to prevent hakin? External image (may be gone)

GumSlone Administrator Principal · 1,690 posts #2

yesterday my site ( http://arawap.net ) has been hacked by some one. my site is a wap forum. that hacker baned me first and then he baned all in my site. as i think he has attakd by a hacking tool. coz he havent touch data base. could any wap master tel me how to protect my site? wat r the best anti hack tools to prevent hakin? External image (may be gone)

Which forum script you used on your site?

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Guest #3

Which forum script you used on your site?

i used RW lavalier wap forum with huge modifcationz

subzero Super moderator Fellow · 3,954 posts #4

goto ya file_manger

edit all files as i show you....

  1. modproc.php

  2. modcp.php

<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
  {
    echo "<card id=\"main\" title=\"arawap.net \">";
      echo "<p align=\"center\">";
      echo "You are not a mod
Subzero is here to protect me!!!!!! ";
      echo "
";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }
<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
  {
    echo "<card id=\"main\" title=\"arawap.net \">";
      echo "<p align=\"center\">";
      echo "You are not a mod
subzero is here to protect me!! ";
      echo "
";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }

when you make a file that is open make sure you use

exit(); that not welcome

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... _______…

GumSlone Administrator Principal · 1,690 posts #5

Lets wait few days if there would be more posts about hacking of this script than there are realy black holes in it which need to be closed.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

subzero Super moderator Fellow · 3,954 posts #6

gumslone i fixed the hacking problem ppl try it at my site all the time

if ya like to get who doing this place this code and make text file name iplog.txt

<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
  {
    echo "<card id=\"main\" title=\"arawap.net \">";
      echo "<p align=\"center\">";
$fp=fopen("iplog.txt","a+"); 
fputs($fp,"|=|$HTTP_USER_AGENT|$REMOTE_ADDR|=|\n\n");
fclose($fp);
      echo "You are not a mod
subzero is here to protect me!! ";
      echo "
";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }

and chmoned 0777 External image (may be gone)

this will help you pin the user in ya forum External image (may be gone) External image (may be gone) to ban him

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... _______…

Guest #7

bro he is using a hackin tool to do it . im sure he hasnt attak my bata base. but he can ban ppl . add and remove plusess. he can do any thing wat moderator does.

subzero Super moderator Fellow · 3,954 posts #8

do what said your be save!!

no he not using a hacking tool he got this from some one mite be a kid think he smart its a script that lets you past as a mod ok

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... _______…

Guest #9

gumslone i fixed the hacking problem ppl try it at my site all the time

if ya like to get who doing this place this code and make text file name iplog.txt

<?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
  {
    echo "<card id=\"main\" title=\"arawap.net \">";
      echo "<p align=\"center\">";
$fp=fopen("iplog.txt","a+"); 
fputs($fp,"|=|$HTTP_USER_AGENT|$REMOTE_ADDR|=|\n\n");
fclose($fp);
      echo "You are not a mod
subzero is here to protect me!! ";
      echo "
";
      echo "<a href=\"index.php\">Home</a>";
      echo "</p>";
      echo "</card>";
      echo "</wml>";
      exit();
    }

and chmoned 0777 External image (may be gone)

this will help you pin the user in ya forum External image (may be gone) External image (may be gone) to ban him

bro where to enter this code? and u meant a blank iplog.txt file to add the server?

subzero Super moderator Fellow · 3,954 posts #10

pm me bro

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... _______…

Guest #11

and one more thing bro he has banned all my users .. no1 can log to my site . it sys ip is baned. and wen click some links like biddy list. ban list it says ip is baned. wat shud i do ? how to remove it?

subzero Super moderator Fellow · 3,954 posts #12

just pm me to get more info thanks

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... _______…

Guest #13

Blaze forgot 2 add the

exit();

I did that out when I updated my site from wml to xhtml so the modcp.php got bugs denverporia19 lammed my site owner of crypticworld I dont call them hackers just wannabe hackers lammers just use the codes on ur site and cant really hack.

Guest #14

lolz thats why i try to use the modproc and modcp if its working coz also someone hacked my site then i rushly go to subzero for this shit matter....

Guest #15

bro where to enter this code? in admincp and in adminproc. and whats about iplog.txt file ?

stringfellowhawk #16

for admincp.php and admproc.php here a sample <?php include("config.php"); include("core.php"); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; if(!ismod(getuid_sid($sid))) { echo "<card id="main" title="arawap.net ">"; echo " "; echo "You are not a mod Subzero is here to protect me!!!!!! "; echo " "; echo "<a href="index.php">Home</a>"; echo " "; echo "</card>"; echo "</wml>"; exit(); } Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))

Guest #17

for admincp.php and admproc.php here a sample

<?php include("config.php"); include("core.php"); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; if(!ismod(getuid_sid($sid))) { echo "<card id=\"main\" title=\"arawap.net \">"; echo " "; echo "You are not a mod Subzero is here to protect me!!!!!! "; echo " "; echo "<a href=\"index.php\">Home</a>"; echo " "; echo "</card>"; echo "</wml>"; exit(); } Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))

you mean just add this script in admincp and adminproc. but there are few lines already there .what to do with these lines. delete them or not. like include("config.php"); include("core.php");

and in admincp and adminproc where put this script at top of the that script or at any where.

stringfellowhawk #18

you need only edit this if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid))) wait better

Attachments: admincp.php admproc.php
kiss Senior · 294 posts #19

you need only edit this if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid))) wait better


hey people wake up........ this mean nothing........... believe me i was hacked whit lots protections..........and the last was last night so ..............IT UNSELESS Answer me, how a simple INVISIBLE MEMBER CAN BANNED ME?????????????????????????

www.inbuzunar.mobi -Your mobile portal pocket

subzero Super moderator Fellow · 3,954 posts #20

no one can ban you if ya not done it right lol

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... _______…

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