Ahmad Mahfouz

Random notes

Month: January 2015

Convert VirtualBox HardDisk To VMware

hello in this article we will simply convert vhd file (VirtualBox disk image) to VMware disk   our VirtualBox disk is “systemdisk.vhd” we will use qemu emulator to convert the disk our target app to do the convert is qemu-img

 

port forward & pivoting with meterpreter

Let’s assume u attacked machine with 2 nic cards our IP is 10.0.0.5 first, one ip is 10.0.0.10 that you reach it from and in ifconfig shows, the machine has a different  IP 10.0.2.30 you can scan the network 10.0.2.x via meterpreter arp_scan

we can connect to the RDP server of the machine 10.0.2.30

IPTABLES redirect all ports to one port

hello this  iptables rule to redirect all incoming traffic from all ports to one port example 80 on ip 192.168.1.10

enjoy

MetaSploit Payload to Executable EXE