Saturday, February 5, 2011

streamyx dialer

'only for bridge mode
'HOW TO CLOSE : ctrl + alt + del > process > wcscript
'Script to auto connect/disconnect until you get the ip within a range that specified by you.

TempFileName="c:\ips.txt" 'Any temporary location
IPInString = "218.208" 'String to search for
IPNumber = "218." 'Beginning of IP to search for.
ConnectionName = "StreamyX" 'the name of your StreamyX connection
UserName = "STREAMYX ID@streamyx" 'replace with your NETWORK ID
Password = "mypassword" 'replace with your NETWORK PASSWORD

'---------------------------------------------------------------------
sFlag = 0
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Set oFileSystem = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " /Disconnect"
Do While sFlag <> 1
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " " & UserName & " " & Password,2,true
oShell.Run "%comspec% /c ipconfig.exe > " & TempFileName,2,true 'line 10
Set oFile = oFileSystem.OpenTextFile(TempFileName, ForReading)
'Search for IPs and check if in right domain
Do While oFile.AtEndOfStream <> True
sIPAddress = oFile.ReadLine 'Read line of temporary file
If Instr(sIPAddress,IPInString) <>0 then 'Find line start with IP Address
ColonPos = Instr(21,sIPAddress,":") 'Find position of colon
sIPAddress = Mid(sIPAddress,ColonPos+2) 'Extract IP portion
If Trim(Left(sIPAddress,Len(IPNumber))) = IPNumber then 'Check of right IP
sFlag = 1 'Found good IP so set flag
exit do
End If
End If
Loop 'Look for next IP
If sFlag = 0 then
oShell.Run "%comspec% /c rasdial.exe " & ConnectionName & " /Disconnect"
oShell.Run "ping.exe -n 3 127.0.0.1", 0, True
End If
Loop
If sFlag = 1 then 'Found good IP so process route table
oFile.Close
set oFile=nothing

'Delete temporary file.
oFileSystem.DeleteFile TempFileName,true

'Cleanup
set oTXTFile=nothing
set oFileSystem=nothing
set oShell = nothing

end if

Thursday, February 3, 2011

misc tools

backup & undelete
backup windows driver: drivermax.exe
no need installation: file_recovery.exe
Paragon Backup and Recovery Free
Rescue Kit 10 Free Edition
Macrium Reflect Free Edition
Drive Image XML

PartImage Is Not Ghost
Clonezilla
Easeus Todo Backup

http://www.file-recovery.net/
http://www.recovermyfiles.com/
partition-savepart

Multimedia
IrfanView - free image viewer, batch converter
Audacity - sound editor at sourceforge.net
Hanbrake - various video format free converter at handbrake.fr
phtofiltre.free.fr -  filter, cut, automate
sourceforge.net/projects/imageenlarger/  enlarge img & keep smoothness
www.shapecollage.com    join little photo to make one large

record screen play
www.repairvideo.com   fix undraggable video
Digital Video Repair : incomplete download fix

Crack
wifi-beini
ARPoison
ARPToxin

Torrent
deluge
thunder

Misc
IM: meebo.com
remote control: Teamviewer, RealVnc, Sharedview
unlocker
processMonitor
InSSIDer - wifi monitoring
find active-ipscan
Advanced Port Scanner
windirstat
filedatech
antivirus: Avira, Avast

wifi sharing - happy cny

scenario: Sony uses usb modem to surf net, wanna share it with Presario using wifi

sony netbook:
-wireless network properties-Wireless Networks tab-Add:
  your own SSID(eg:mywifi), Open, WEP, 5/13 digit passwd, Check ad hoc
  ip: 192.168.0.1
-Refresh wireless network list, connect your own SSID(eg:mywifi)
-install CCProxy - Options - Auto Detect choose the Digi ip; Account <-- Presario ip as allowed client

Presario:
-wifi property ip: 192.168.0.2
-refresh & connect to own SSID(eg:mywifi)
-firefox's Proxy set to 192.168.0.1 & port 880 (as in CCProxy)

robocopy - Robust File Copy Utility

robocopy "C:\orifolder" "c:\zzTarget" /S /E /NP
robocopy "C:\orifolder" "z:" /S /E /NP


copy only new files/modified files onto another folder. supports network drives too.

download at
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd

Tuesday, February 1, 2011

Firefox user agent

type this in Firefox's address bar:  about:config
general.useragent.override
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)"


your FF user agent could be unique enough for 3rd party tracking!!

Monday, January 31, 2011

Saturday, January 29, 2011

readonly all usb drives

   1. Launch    regedit

   2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

   3. You should see a key called StorageDevicePolicies. If it doesn't exist, create a new key with that name.

   4. In the StorageDevicePolicy key, create a REG_DWORD value called  WriteProtect.

   5. Set the data value of WriteProtect to 1.

   6. This value will make USB storage read only. To enable read/write over USB, set the value to 0.

   7. Exit the editor.