Thursday, July 24, 2014

Windows-System-Wide-Proxy

Windows system wide proxy settings
Using Internet Explorer proxy as system wide proxy
Windows 7 setting system wide proxy from command line

Run command window as administrator.




1. netsh winhttp import proxy source=ie
Import proxy settings from Internet Explorer 

2. netsh winhttp show proxy
Show existing proxy settings 

3. netsh winhttp reset proxy
Rest proxy settings



Wednesday, May 14, 2014

New-Phishing

Here comes new phishing email 

Good Morning

I hope you slept well. i uploaded some documents via Google drive for your review.


Regards

--

Rosmawani Binti Hj Mohd Salleh | Manager

Corporate Finance Department
Credit Management Unit 

Telekom Brunei Berhad

TelBru Brunei Berhad Headquarters, Unit 1.01, Block D,
Yayasan Sultan Haji Hassanal Bolkiah Complex
Jalan Pretty | Bandar Seri Begawan BS8711, Negara Brunei Darussalam





The address is interesting Its huge so putting it here in pastebin http://pastebin.com/Z0vhfzd4

Be aware Be safe.

Whois




Friday, March 28, 2014

Vmware Player-Guest as internet gateway

Recently one of my friend asked me about setting up a Internet gateway on Virtual Guest system and configure that for other virtual machines and Host to connect internet.

The following steps used to test this successfully.

Details of the setup

Systms used all are Linux.

ppp0 -> Internet connection using USB dongle.
Eth0 -> Interface used by default with vmware player.

IP Details
ppp0 -> DHCP by ISP.
eth0 -> 192.168.2.140/24


The following lines can be saved in /etc/rc.local   permanently.

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -i eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

All done. This machine become Linux router.

Setup for other virtual guest.
Command line
ifconfig eth0 192.168.2.130/24
route add default gw 192.168.2.140


GUI


On HOST System

Add route
sudo route add default gw 192.168.2.140 vmnet8
add DNS server IP inside /etc/resolv.conf
nameserver 8.8.8.8

IP is already there on vmnet0.

After setting up route. The gateway guest system may loose IP address. Just set the ip address with following command
ifconfig eth0 192.168.2.140/24