Kill Bbclient.exe

  • Thread starter Thread starter TJS
  • Start date Start date
  • Replies Replies 47
  • Views Views 19,365
oh thanx dukes ihavnt tried the script tats why i thoght it wont block bangloreindia page !!wil try now many thanx 2 TJS!!
 
Logout Script

1. Copy this code to notepad and save it as .vbs file (say, Logout.vbs).

Code:
strMessage = "1. Logout (l)" & vbcrlf & _"2. Your Profile / Session Details  (d)" & vbcrlf & _"3. Renew Account (r)" & vbcrlf & _"4. Change Password (p)" & vbcrlf & _"5. Help (h)" & vbcrlf Response = InputBox(strMessage, "BBClient Script By TJS")Set objExplorer = WScript.CreateObject("InternetExplorer.Application")Select Case ResponseCase "l" objExplorer.Navigate "http://210.210.4.72:81/logoutconfirm.php"       objExplorer.Visible = 1   Case "d"userid = FindUserID()If IsNull(userid) Then userid = InputBox("Enter UserId:", "Check Session Details")End IfobjExplorer.Navigate "http://202.144.65.70:8090/bbandnew/cusdetails.php3?userid=" & userid    objExplorer.Visible = 1   Case "r"objExplorer.Navigate "http://210.210.4.72:81/bbandnew/displaydetails.php"       objExplorer.Visible = 1   Case "p"objExplorer.Navigate "http://login.sify.com/login.php?sid=mail&sn=sm&rurl=http%3A%2F%2Flogin.sify.com%2Fchangepwd.php%3Fsn%3D%26rurl%3D"       objExplorer.Visible = 1   Case "h"objExplorer.Navigate "http://210.210.4.72:81/bbandnew/help.html"       objExplorer.Visible = 1   End Select     Function FindUserID()Const HKEY_CURRENT_USER = &H80000001strComputer = "."Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _    strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Sify\Broadband"strValueName = "Userid"oReg.GetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValueFindUserID = strValueEnd Function
2. Double-click Logout.vbs.

http://imageshack.us

3. Enter "l". Click OK.
 
Dukes:

Replace this

Code:
objExplorer.Navigate "http://202.144.65.70:8090/bbandnew/cusdetails.php3?userid=" & userid    objExplorer.Visible = 1  
with this (change the path of Opera.exe if different)

Code:
Set objShell = CreateObject("WScript.Shell")OperaPath = chr(34) & "C:\Program Files\Opera\Opera.exe" & chr(34)DetailsURL = "http://202.144.65.70:8090/bbandnew/cusdetails.php3?userid=" & useridasdURL = OperaPath & " " & DetailsURL objShell.Run asdURL
🙂
 
Thanks. I found that bookmarking that link in opera did the job anyway. 🙂
 


Go here

Drag Logout link to Status bar.

http://img192.imageshack.us/my.php?image=tjs000nr.jpg

No need of the Logout script... 😀
 
Well thats not a universal sam ip. You'll have to put in your own sam ip...eg : your sam ip:sam port/servicelist.phpsam ip can be found in the Bband.ini file in your Sify Broadband folder in prog files.And Tjs great work dude...
 
Start program automatically after login

To start your program automatically after login add StartProg "pathofexe" after the line Loop (Disable launch of default homepage code)

e.g. To start firefox after login add :

Code:
StartProg "C:\Program Files\Mozilla Firefox\firefox.exe"
priyoban, thanks for the info.... 🙂
 
AHK Compiled Script (KillSBC)

- Kill BBClient.exe and BBImpSec.exe
- Disable launch of default homepage
- Disable BBImpSec.exe at startup

Download (updated Jul 20 2006)

Extract KillSBC_2.zip. Double-click KillSBC2.exe to launch BBClient.
 
Connection Keep Alive Using KillSBC

http://imageshack.us

This program will check if you are logged in every 10 seconds. If you are, it does nothing, if not it will attempt to log you in immediately using KillSBC.

Download KeepAlive.exe and copy it to the same directory as KillSBC 2.exe. Double-click KeepAlive.exe to start KeepAlive...

OR

1. Copy code to notepad (Change path of KillSBC.exe: Code-Run("C:\Scripts\KillSBC 2.exe") if different) and save it as keepalive.au3. Make sure that you select 'All Files' before saving (see screenshot).

Code:
$i = 0While $i = 0$size = InetGetSize("http://broadband.sify.com/bb_security.html")If $size = 0 Then$var1 = RegRead("HKEY_CURRENT_USER\Software\Sify\Broadband", "Auto")  If $var1 = 0 Then        RegWrite("HKEY_CURRENT_USER\Software\Sify\Broadband", "Auto", "REG_DWORD", "1")    $var2 = 1  Else    $var2 = 0  EndIfSleep(100)     Run("C:\Scripts\KillSBC 2.exe")ProcessWait("BBImpSec.exe", 60)  If $var2 = 1 Then    RegWrite("HKEY_CURRENT_USER\Software\Sify\Broadband", "Auto", "REG_DWORD", "0")     EndIf    If ProcessExists("troubleshoot.exe") Then    ProcessClose("troubleshoot.exe")  EndIfEndIfSleep(10000)WEnd
http://img133.imageshack.us/img133/4005/saveaa4.jpg

2. Download AutoIt - Zipped Version (autoit-v3.2.0.1.zip).

3. Extract autoit-v3.2.0.1.zip. Double-click Aut2Exe .exe.

4. Select Source and Destination.
Source: Click Browse and Select KeepAlive.au3.
Destination: Click Browse and enter KeepAlive.

5. Click Convert.

Double-click KeepAlive.exe to start KeepAlive...

Enjoy! B)

Edit: Added KeepAlive.exe (compiled autoit script)
 
nice bit of work.. im no longer on sify but i gave a link to this page to my friend and it works great for him.. 😀
 

Top