Thursday, 25 October 2012

CARA NAK HILANGKAN ERROR 'NOT RESPONDING'





Korang mesti selalu dpt mcm dalam gambar kn? selalu nye korang buat utk hilang kn error 
nie korang tekan ctrl+alt+del lepas tu korang klik task manager dan klik end task.

Sebenarnye windows ade sediakan file Taskkill.exe yang dapat bantu untuk tutup aplikasi
yang 'not responding' dengan cara mudah.

Tutorial
1. korang right klik kt desktop korang dan pilih 'create new shortcut'
2. copy paste code di bawah ke field location shortcut
taskkill.exe/f/fi "status eq not responding"

cara di atas hasilkan satu shortcut dengan nama 'Taskkill'.

Korang double klik kt shorcut tu, komputer korang automatik detect dan tutup setiap 
program yang 'not responding'.

Tips di atas boleh guna kt sume versi windows dari windows XP - Windows 7

SELAMAT MENCUBA :P

CARA LETAK SKYPE BUTTON DI BLOG / WEBSITE





Cara senang nk letak button skype di blog atau website
1. korang pergi kat link nie.

2.jangan lupa letak skype name korang
3. pilih button yg korang nk..
add a custom Skype button

4. da? korang copy code kat situ.


cara letak di blog.
1. login > dashboard > layout > add gadjet > html javascript.
paste kan kt situ...

SELAMAT MENCUBA :D


Sunday, 14 October 2012

CARA NAK UPLOAD WEBSHELL BYPASS SECURITY PART 2





FILE NAME VERIFICATION

<?php
   $blacklist = array(".php", ".phtml", ".php3", ".php4");
   foreach ($blacklist as $item) 
    {
         if(preg_match("/$item$/i", $_FILES['userfile']['name'])) 
       {
              echo "We do not allow uploading PHP filesn";
              exit;
          }
    }
   $uploaddir = 'uploads/';
   $uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
   if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
           echo "File is valid, and was successfully uploaded.n";
   } 
   else 
   {
           echo "File uploading failed.n";
   }
?>


code di atas, akan cek file yang di upload.
fungsi fregmatch akan cek file yg di upload untuk melihat jika ada file2 yang di blacklist.
sekarang code di atas boleh bypass dengan mengupload gif atau file jpeg yg ade tertanam shell
dalam image tu.
mcm di tunjuk di tutorial part 1..

satu lagi cara untuk bypass guna cara ni ialah
dengan gunakan parameter byte nol

tukarkan nama file ke shell.php.gif
sekarang file boleh di upload.
 tapi masa upload ada character (), ia akan abaikan file tu dan simpan file sbg shell.php

korang boleh access file sebagai shell.php
contoh :
http://www.contoh.com/upload/shell.php





ARTWORK LAME


Tapi sekarang dah xley melukis da...
malas nk mengadap.. 
hahaha


















Recent Posts