Minggu, 12 Agustus 2012

God Mode Windows 7

Buat Folder baru copy paste kode berikut

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Tada bisa di coba aja sendiri apa yang terjadi

Minggu, 05 Agustus 2012

Script mengetahui IP Public

buat script seperti berikut

Option Explicit
Dim http : Set http = CreateObject( "MSXML2.ServerXmlHttp" )
http.Open "GET", "http://myip.dnsomatic.com/", False
http.Send
Wscript.Echo http.responseText   'or do whatever you want with it
Set http = Nothing


simpan file tersebut dengan anma ip.vbs
jalankan cscript ip.vbs

link yang bisa memberikan informasi ip public kita

http://myip.dnsomatic.com/
http://whatismyip.org/
http://icanhazip.com/

Jumat, 10 Februari 2012

Enable/Disable Network Adapter from Command

Jika OS anda Windwos 7 maka ada cara mudah yaitu dengan bantuan netsh
berikut command untuk enable/disable network adapter di windows 7

untuk disable netnork adapter

c:\>netsh interface set interface "Local Area Connection" disabled

untuk enable network adapter

c:\>netsh interface set interface "Local Area Connection" enabled

perhatian ganti interface name yang ada di dalam tanda kutip dengan
interface name yang benar



Sedangkan untuk windows xp sampai saat ini saya belum bisa menggunakan cara di atas,
untuk itu perlu aplikasi yang namanya devcon.
download devcon dari http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272

extract file yang telah di download copy file devcon sesuaikan dengan arsitectur OSnya
i386 untuk 32 bit dan ia64 untuk 64 bit ke c:\windows\system32

mencari device di seluruh system
c:\>devcon find * > list.txt

buka file list.txt cari device yang berhubungan dengan network adapter yang ada di PC
sebagai contoh saya menggunakan 3com terliaht device seperti berikut

PCI\VEN_10B7&DEV_9200&SUBSYS_100010B7&REV_74\4&CF81C54&0&08F0: 3Com EtherLink XL 10/100 PCI For Complete PC Management NIC (3C905C-TX)

ambil string untuk meng-identifikasi device untuk contoh di atas saya ambil VEN_10B7

C:\>devcon find *VEN_10B7
PCI\VEN_10B7&DEV_9200&SUBSYS_100010B7&REV_74\4&CF81C54&0&08F0: 3Com EtherLink XL
10/100 PCI For Complete PC Management NIC (3C905C-TX)
1 matching device(s) found.

yakinkan VEN_10B7 satu-satunya device yang terlist

waktunya enable dan disable device

untuk disable device

C:\>devcon disable *VEN_10B7
PCI\VEN_10B7&DEV_9200&SUBSYS_100010B7&REV_74\4&CF81C54&0&08F0: Disabled
1 device(s) disabled.

untuk enable device

C:\>devcon enable *VEN_10B7
PCI\VEN_10B7&DEV_9200&SUBSYS_100010B7&REV_74\4&CF81C54&0&08F0: Enabled
1 device(s) enabled.

Selasa, 24 Januari 2012

Setting VPN PPtP Server mikrotik

Asumsi

1. jaringan Internet anda dengan menggunakan gateway/router mikrotik sudah berjalan dengan baik
2. IP pool untuk VPN : 10.242.6.1-10.242.6.254
3. IP Mikrotik yang mengrah ke LAN : 192.168.10.2

OK kita langsung aja ke TKP

1. gunakan winbox untuk login ke mikrotik anda
2. Buat IP pool untuk untuk PPtP
-> IP -> Pool
Name : pptp-pool
Addresses : 10.242.6.1-10.242.6.254
Next Pool : none
3. Buat Profile PPP
-> PPP -> Profile
Name : pptp-prof
local address : 192.168.10.2
remote address : pptp-pool
DNS Server : 192.168.10.2
4. pindah ke TAB Secret
-> PPP -> Secret
Name : udin
Password : *****
Service : pptp
Profile : pptp-prof
5. Enable PPtP Server
-> PPP -> PPTP Server
Enabled : checklist
Max MTU : 1460
Max MRU : 1460
KeepAlive Timeout : 30
Default Profile : pptp-prof
Authentication : checklist all