Archive

Archive for March, 2009

Asus eee 701 WEP crack with aircrack-ng

March 27th, 2009 karlosp No comments
    1. Download aircrack-10b2madwifi-r3366ar5007
    2. Open a console with CTRL+ALT+T
    3. Execute: sudo bash
    4. Execute: cd / ; tar vfxz /home/user/aircrack.tgz [make sure to do from /]
    5. Execute: modprobe -r ath_pci wlan_scan_sta wlan
    6. Execute: mv /lib/modules/2.6.21.4-eeepc/atheros ~ [move old stuff to home directory as backup]
    7. Execute: depmod -a
    8. Execute: modprobe ath_pci

      A quick HOWTO:
      airmon-ng stop ath0
      airmon-ng start wifi0
      aireplay-ng -9 ath0

      You can download my auto web crack bash script.
      auto-wep-crack
      Within script replace 00-15-AF-78-F0-59 with your MAC address!

      Source: http://scottn.us/2008/03/asus-eee-pc-with-aircrack-ng.html

      Categories: Malo mešano Tags: , , , , , ,

      PHP mail() UTF-8

      March 17th, 2009 karlosp No comments
      PHP:
      1. function mail_utf8($from, $to, $subject = '(No subject)', $message = '', $header = '') {
      2.   $header_ = 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/html; charset=UTF-8' . "\r\n";
      3.   $header_ .= "From: $from\r\n" . "Reply-To: $from\r\n";
      4.   mail($to, "=?UTF-8?B?".base64_encode($subject).'?=', $message, $header_ . $header);
      5. }

      Categories: php_mysql Tags: , ,

      Linux Extract Script

      March 13th, 2009 karlosp No comments
      CODE:
      1. The following function will decompress a wide range of compressed filetypes. Add the function to '~/.bashrc' and then run with the syntax 'extract MyCompressedFile'
      2.  
      3.  extract () {
      4.    if [ -f $1 ] ; then
      5.        case $1 in
      6.            *.tar.bz2)   tar xvjf $1    ;;
      7.            *.tar.gz)    tar xvzf $1    ;;
      8.            *.bz2)       bunzip2 $1     ;;
      9.            *.rar)       rar x $1       ;;
      10.            *.gz)        gunzip $1      ;;
      11.            *.tar)       tar xvf $1     ;;
      12.            *.tbz2)      tar xvjf $1    ;;
      13.            *.tgz)       tar xvzf $1    ;;
      14.            *.zip)       unzip $1       ;;
      15.            *.Z)         uncompress $1  ;;
      16.            *.7z)        7z x $1        ;;
      17.            *)           echo "don't know how to extract '$1'..." ;;
      18.        esac
      19.    else
      20.        echo "'$1' is not a valid file!"
      21.    fi
      22.  }

      Categories: Linux Tags: , ,

      Protected: avast

      March 3rd, 2009 karlosp Enter your password to view comments.

      This post is password protected. To view it please enter your password below:


      Categories: Malo mešano Tags:
      101895 pages viewed, 159 today
      53334 visits, 93 today
      FireStats icon Powered by FireStats