How to secure EJATD29 SC

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

19 replies · 1,914 views · started 15 years ago · 1 min read

7 participants
awan Junior · 28 posts #1

Teach me... Plz..

I'm not good but wanted to be clever 🙂

subzero Super moderator Fellow · 3,954 posts #2

Never will be not scoured !!

lol

use exit('0,$sid');

end of the page

and also delete the uploader files

then edit index.php

uplink('*.php');

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

awan Junior · 28 posts #3

thnx

subzero wrote: Never will be not scoured !!

lol

use exit('0,$sid');

end of the page

and also delete the uploader files

then edit index.php

uplink('*.php');

Thnx sir, how to secure sql inject , ?

I'm not good but wanted to be clever 🙂

awan Junior · 28 posts #4

awan

any ideas guys ,to secure ejatd29 sc?

any ideas guys. To secure ejatd29 sc , please

I'm not good but wanted to be clever 🙂

subzero Super moderator Fellow · 3,954 posts #5

they being posted here before mate 🙂 you will need to search to get them.....

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

awan Junior · 28 posts #6

help sir

subzero wrote: they being posted here before mate 🙂 you will need to search to get them.....

Sir how to , secure my wap from shell ?

I'm not good but wanted to be clever 🙂

subzero Super moderator Fellow · 3,954 posts #7

dont host a uploader simple !

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

ewanz Developer · 187 posts #8

subzero wrote: Never will be not scoured !!

lol

use exit('0,$sid');

end of the page

and also delete the uploader files

then edit index.php

uplink('*.php');

sub...... why must use exit('0,$sid') at the end? can u explain.. i dont think we can just exit or exit() actually.. why need $sid to close too???

awan wrote: Sir how to , secure my wap from shell ?

Put your uploader script here awan... i will code new one for u here....

awan wrote: Thnx sir, how to secure sql inject , ?

Sanitize all your input including user agent.....

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
subzero Super moderator Fellow · 3,954 posts #9

lavalair script has alot of holes and exiting sid means sid will not go any far then the site input

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

i0nutzxp Developer · 150 posts #10

FOR SQL INJECTION $string = $_SERVER['QUERY_STRING']; in " http://localhost/sql.php?name=stupidname&sex=N&pass=nopass " this will output : name=stupidname&sex=N&pass=nopass then u can clean the url. //script eg: u can put it in config.php for global efect

<?PHP
$string = $_SERVER['QUERY_STRING'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$badwords = array('perm=', 'validated=','insert%20into', 'select%20'); // etc
$clean_url = str_replace($badwords,'x',strtolower($string));
$clean_agent = str_replace($badwords,'x',strtolower($agent));
if($string != $clean_url || $agent != $clean_agent)
 header('Location: injection.php');
?>

FOR SHELL The most safe way is u to have 2 hosts: 1. Where you have the script 2. File hoster In host 1 u need to have only the uploader form and in the 2nd the php script. In the 2nd u'll output a url that go to the 1st then add it to sql database.

u cand rename the new file name in somewhat like md5(time().'off'.sha1(rand(9999,99999))); then u add it to db for validation ...

... ... ..

<?php unlink('World/Europe/Romania.country'); ?>
ewanz Developer · 187 posts #11

U just can disable the shell executi0n in y0ur server 0r just turn 0n the safe m0de.. Thats simple..

Added after 5 minutes:

I d0nt think s0 subzero.. $sid - It just the variable that keep the sessi0n 0nly.. Must it cl0se sub??

Added after 8 minutes:

Nice idea to md5 the name of file uploaded.. But if he or she download it, it still can run unless the staff must validate first the file.. Good idea br0..

Added after 6 minutes:

The ip must secure t00.. Any idea how t0 bl0ck the ip that is n0t numeric.. Pe0ple can inject t00 when they can change their ip and put s0me c0mmand.. This als0 h0le in ejatd script..

Added after 2 minutes:

In my way, use the _$SERVER to get the ip then make a functi0n t0 clean the _$SERVER

I use 0pera mini t0 br0wse here.. S0rry if i n0t p0st the c0de..

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
m4ster_v4 Developer · 125 posts #13

ewanz wrote: U just can disable the shell executi0n in y0ur server 0r just turn 0n the safe m0de.. Thats simple..

Added after 5 minutes:

I d0nt think s0 subzero.. $sid - It just the variable that keep the sessi0n 0nly.. Must it cl0se sub??

Added after 8 minutes:

Nice idea to md5 the name of file uploaded.. But if he or she download it, it still can run unless the staff must validate first the file.. Good idea br0..

Added after 6 minutes:

The ip must secure t00.. Any idea how t0 bl0ck the ip that is n0t numeric.. Pe0ple can inject t00 when they can change their ip and put s0me c0mmand.. This als0 h0le in ejatd script..

Added after 2 minutes:

In my way, use the _$SERVER to get the ip then make a functi0n t0 clean the _$SERVER

I use 0pera mini t0 br0wse here.. S0rry if i n0t p0st the c0de..

old sc... muehehe..... already clear all (: $_SERVER $_COOKIE $_POST $_GET $_REQUEST

All clear... (:

About safe mode? Just let it off (: Secure the uploader Use mod rewrite Make sure 777 folder not accessable. Use permission to carry data. Hide upload source. Blind with javasc..

Huh.. Bowring (:

The best way. Use pay hosting 🙂

Not Join Yet? On PC? For Fun Only 🙂 EJATD29.COM | Malaysian Social Network - Home Page

Visit my WEBSITE Project: http://www.aspirewap.net

awan Junior · 28 posts #14

help

how to validate users by sending activation link in email , please im using ejatd29 sc

I'm not good but wanted to be clever 🙂

Nahar Developer · 196 posts #15

awan wrote: how to validate users by sending activation link in email , please im using ejatd29 sc

awan, Did u See Search Function??The Code Already Post At Forum

subzero Super moderator Fellow · 3,954 posts #16

closing your site is a good idea 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... _______…

m4ster_v4 Developer · 125 posts #17

subzero wrote: closing your site is a good idea lol

Ya..... (: Better study about php 1st before create own wapsite.... With lack of knowledge about php, sql, apache how could you handle ur wapsite...

Visit my WEBSITE Project: http://www.aspirewap.net

subzero Super moderator Fellow · 3,954 posts #18

m4ster_v4 wrote: Ya..... (: Better study about php 1st before create own wapsite.... With lack of knowledge about php, sql, apache how could you handle ur wapsite...

I agreed, if you wish to learn please learn php,apache,mysql

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

awan Junior · 28 posts #19

awann

subzero wrote: closing your site is a good idea lol

never give up sir 🙂 thnx

Added after 5 minutes:

i0nutzxp wrote: FOR SQL INJECTION $string = $_SERVER['QUERY_STRING']; in " http://localhost/sql.php?name=stupidname&sex=N&pass=nopass " this will output : name=stupidname&sex=N&pass=nopass then u can clean the url. //script eg: u can put it in config.php for global efect

<?PHP
$string = $_SERVER['QUERY_STRING'];
$agent = $_SERVER['HTTP_USER_AGENT'];
$badwords = array('perm=', 'validated=','insert%20into', 'select%20'); // etc
$clean_url = str_replace($badwords,'x',strtolower($string));
$clean_agent = str_replace($badwords,'x',strtolower($agent));
if($string != $clean_url || $agent != $clean_agent)
 header('Location: injection.php');
?>

FOR SHELL The most safe way is u to have 2 hosts: 1. Where you have the script 2. File hoster In host 1 u need to have only the uploader form and in the 2nd the php script. In the 2nd u'll output a url that go to the 1st then add it to sql database.

u cand rename the new file name in somewhat like md5(time().'off'.sha1(rand(9999,99999))); then u add it to db for validation ...

... ... ..

good idea sir !! thnx alot!

subzero wrote: I agreed, if you wish to learn please learn php,apache,mysql

in progress sir 🙂 thnx

Added after 3 minutes:

subzero wrote: I agreed, if you wish to learn please learn php,apache,mysql

in progress sir 🙂 thnx

I'm not good but wanted to be clever 🙂

ewanz Developer · 187 posts #20

rayjee wrote: Other functi0n n0t working if the safe m0de is on...

yess m8... some function not working but it is safety... actually i had my ways how to stop it...

Added after 6 minutes:

give here your register script....

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 

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