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)
Lavalair Scripting Tools!
Started on the old forum in February 2007 · view the original in the archive · old links redirect here
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.
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
goto ya file_manger
edit all files as i show you....
-
modproc.php
-
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... _______…
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
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... _______…
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... _______…
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?
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... _______…
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... _______…
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)))
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.
you need only edit this if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid))) wait better
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
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... _______…