Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-24-2013, 08:16 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Programming › PHP v
« Previous 1 ... 10 11 12 13 14 ... 31 Next »

[Tutor] Cara mencegah SQL Injection

Home General Computer Multimedia Business Lounge

Pages (3): « Previous 1 2 3
Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Cara mencegah SQL Injection
01-04-2012, 09:28 AM
Post: #21
sandhie Offline
./Devilz Officer
Posts: 122
Joined: Jan 2012
Reputation: 0
RE: Cara mencegah SQL Injection
mantap gan....
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2012, 03:25 PM (This post was last modified: 01-23-2012 03:26 PM by edhocosma.)
Post: #22
edhocosma Offline
./Devilz Officer
Posts: 140
Joined: Jan 2012
Reputation: 29
RE: Cara mencegah SQL Injection
Nice Info ! sabar
Visit this user's website Find all posts by this user
Quote this message in a reply
01-23-2012, 10:45 PM
Post: #23
Regel Offline
./Devilz Officer
Posts: 165
Joined: Dec 2011
Reputation: 98
RE: Cara mencegah SQL Injection
Makasih banyak class nya pak wenkhairu.

blaklist cit code sqli py aq.
PHP Code:
<?php

define
('IHS_FIREWALL_SQL_INJECTION', TRUE);
if (
IHS_FIREWALL_SQL_INJECTION === TRUE) {    
        
$str = strtolower(implode(' ',$_GET).implode(' ',$_POST));
        if((
preg_match("/from\(select count/",$str)) ||
           (
preg_match("/union all/",$str)) ||
           (
preg_match("/length\(\(database\(/",$str)) ||
           (
preg_match("/ascii\(substring/",$str)) ||
           (
preg_match("/benchmark\(/",$str)) ||
           (
preg_match("/\' or /",$str)) ||
           (
preg_match("/\" or /",$str)) ||
           (
preg_match("/\' and /",$str)) ||
           (
preg_match("/\" and /",$str)) ||
           (
preg_match("/and rownum\=/",$str)) ||
           (
preg_match("/or rownum\=/",$str)) ||
           (
preg_match("/and 1\=1/",$str)) ||
           (
preg_match("/waitfor delay/",$str))){
            
            
//define('IHS_FIREWALL_RECORD_IP', TRUE);
            //PageNotice("SQL Injection","http://www.ihsana.com"); 
            //WriteLogs("SQL Injection","SQL Injection",'txt');
            //push_email('SQL Injection' , " Hai, bo periksa webnya, ".IHS_REMOTE_ADDR."/".IHS_REMOTE_HOST.".  Trim's");
            
die();
    }
}
?>
Find all posts by this user
Quote this message in a reply
 Reputed by :  poticous(+1)
06-01-2012, 12:14 PM
Post: #24
blacklist69 Away
./Devilz Officer
Posts: 90
Joined: Jan 2012
Reputation: 1
RE: Cara mencegah SQL Injection
punya om wenk error pas ku compile
errornya di class Validasi extends Database

ada yang bisa jelasin apa yang harusnya saya lakukan?
Find all posts by this user
Quote this message in a reply
06-08-2012, 09:29 AM
Post: #25
dadjal Offline
./Devilz Officer
Posts: 141
Joined: Feb 2012
Reputation: 0
RE: Cara mencegah SQL Injection
ilmu nya bagus...mengurangi aktifitas injection lebih baik daripada tidak sama sekali mantap
Visit this user's website Find all posts by this user
Quote this message in a reply
06-26-2012, 03:25 PM
Post: #26
ubuntux Offline
./Admiral of Devilzc0der
Posts: 1,623
Joined: Dec 2011
Reputation: 75
RE: Cara mencegah SQL Injection
ijin copas di blog ane om, ntar ane cantumin sumbernya ketawa
btw nice share om mantap
Visit this user's website Find all posts by this user
Quote this message in a reply
08-28-2012, 10:46 AM
Post: #27
xombix Offline
./Devilz 1st Cadet
Posts: 23
Joined: Sep 2010
Reputation: 0
RE: Cara mencegah SQL Injection
mantabs nih class validasinya mantap
ane pelajari dulu belajar
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Sad [Ask] cara buat balesan komentar berita di php superrmario 10 183 05-21-2013 01:53 AM
Last Post: ZenZ
  [Ask] cara membuat data mining pada php? Keonx 2 86 05-19-2013 06:12 PM
Last Post: Keonx
  [Solved] Tentang Cara Search Di Php wildan123456 4 106 05-15-2013 09:26 PM
Last Post: kidofdream
  [Ask] Cara Decrypt Shell (dg Gambar) sayacupu 7 157 05-07-2013 07:52 PM
Last Post: googles
  [Solved] Cara Bikin Thumbnail Gambar Menggunakan PHP CodeSearcher 4 138 05-02-2013 04:47 PM
Last Post: CodeSearcher
  Bagaimana cara Login dengan menggunaka Privilage dauf 2 85 04-24-2013 11:44 AM
Last Post: dauf
  Cara Cepat Transfer File antar Hosting dengan php uchiha_sasuke 15 293 03-27-2013 06:59 AM
Last Post: uchiha_sasuke
  [Ask] cara mengarahkan action form ke page function region 11 225 03-25-2013 08:42 PM
Last Post: DC_Julianz
  Cara Buat WEB hyip (High Yield Investment Program) jackerp 5 243 02-02-2013 11:28 PM
Last Post: sinwae
  [Ask] cara menampilkan nama berdasarkan id yang di input region 1 143 01-16-2013 09:17 AM
Last Post: sotbot

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-24-2013, 08:16 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE