![]() |
|
share: source code my site - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html) +--- Forum: Web Development (https://hacker-newbie.org/forum-87.html) +---- Forum: Development (https://hacker-newbie.org/forum-89.html) +---- Thread: share: source code my site (/thread-16655.html) |
RE: share: source code my site - rifaldi238 - 03-11-2013 Nais Sare Ganss !!!
RE: share: source code my site - w*74rd - 03-11-2013 UPDATE ganti kode keamanan.php sama ini: Code: <?php
class keamanan{
function sqli(){
$berbahaya = array("union", "concat", "base64","select","script","'","%27","http","www","order","from","borang","0x","table","tables","javascript","script","<",">");
$gabungsemua = implode("|",$berbahaya);
if((strlen($_SERVER['REQUEST_URI']) > 255) || (preg_match("/".$gabungsemua."/i",$_SERVER['REQUEST_URI']))){
$ip = preg_replace( '/[^0-9a-fA-F:., ]/', '',$_SERVER['REMOTE_ADDR'] );
$browser = substr($_SERVER['HTTP_USER_AGENT'], 0, 254);
echo "<style>body{background:#000000; color:#ffffff; font-size:20px;}</style>";
echo "<center style='margin-top:50px; background:#000000; color:#ffffff; font-size:100px;'>Akses Ditolak</center>";
echo "<p style='margin:5px 0px 10px 0px;'>Mau apa oy, hati2 ane catet loh!!</p>";
echo "<p style='margin:0px;'>IP: ".$ip."</p>";
echo "System: ".$browser."";
header("HTTP/1.1 414 Request-URI Too Long");
header("Status: 414 Request-URI Too Long");
header("Connection: Close");
exit;
}
}
}/*akhir class*/
?>kode pdf.php juga ganti sama ini: Code: <?php
require('fungsikoneksi.php');
$keamanan->sqli();
$id = $_GET['w174rd'];
class PDF extends FPDF
{
function Header()
{
$id = $_GET['w174rd'];
$fungsi = new fungsi();
$dbfungsi = new dbfungsi();
$this->Image('gambar/w174rd.jpg',0,13,10,10,'','http://w174rd.tk');
$this->SetFont('Arial','B',12);
$this->Cell(30,10,$dbfungsi->pdf_title($id),0,0,'L');
$this->Cell(132);
$this->SetFont('Arial','',10);
$this->Cell(30,10,'http://w174rd.tk/',10,0,'L');
$this->Line(11,18,198,18);
$this->Ln(6);
$this->SetFont('Arial','',7);
$this->Cell(30,10,$dbfungsi->pdf_terbit($id),0,0,'L');
$this->Ln(15);
}
function Footer()
{
$this->SetY(-15);
$this->SetFont('Arial','I',8);
$this->Cell(0,10,'Halaman '.$this->PageNo().'',0,0,'R');
}
}
$pdf=new PDF('P','mm','A4');
$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->SetFont('Times','',12);
for($i=1;$i<=1;$i++)
{
$pdf->MultiCell(0, 5,$dbfungsi->pdf_post($id));
$pdf->MultiCell(0,5,'');
}
$pdf->Ln(6);
$pdf->SetX(90);
$pdf->Image('gambar/end-pdf.jpg');
$pdf->Output();
?>KEEP TESTING CKAKKAK ![]()
RE: shasource code my site - eycha - 03-12-2013 (03-11-2013, 07:36 PM)w*74rd Wrote: UPDATECemungut Ntar Tak Scan Lagi xixixix
RE: share: source code my site - BlankTarget - 03-12-2013 manteb bang . ijin download dulu ah moga" masih work tuh link
RE: share: source code my site - eycha - 03-12-2013 http://localhost/w174rd/?page=baca <=== Tnggal Yg 1 Ini Mas RE: share: source code my site - tonihoshi - 03-12-2013 ane naksir sama @eycha itu cwe atau maho ya??
RE: shasource code my site - w*74rd - 03-17-2013 (03-12-2013, 12:17 PM)eycha Wrote: http://localhost/w174rd/?page=baca <=== Tnggal Yg 1 Ini Mas PATCHING buka file baca.php terus cari kode ini: Code: $id = $_POST['id'];ganti kode di atas dengan kode: Code: $id = abs((int) $_POST['id']);![]()
RE: share: source code my site - SheizenX - 03-17-2013 link idws nya 404 ![]() ![]() kalo bisa reupload om, ane pengen banget ![]()
RE: shasource code my site - w*74rd - 03-17-2013 (03-17-2013, 10:50 AM)SheizenX Wrote: link idws nya 404 COba Om disini http://www.mediafire.com/download.php?zs8de3azjceaq2f
RE: shasource code my site - eycha - 03-18-2013 (03-17-2013, 08:13 AM)w*74rd Wrote:(03-12-2013, 12:17 PM)eycha Wrote: http://localhost/w174rd/?page=baca <=== Tnggal Yg 1 Ini Mas ![]()
|