elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.


 


  Mostrar Mensajes
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 22
1  Programación / Programación General / [Delphi] MD5 Cracker 0.1 en: 20 Mayo 2013, 03:58
Un simple programa para crackear un hash MD5 hecho en Delphi.

Una imagen :



El codigo :

Código
  1. // MD5 Cracker 0.1
  2. // Coded By Doddy H
  3. // Based on the services :
  4. // http://md5.hashcracking.com/
  5. // http://md5.rednoize.com
  6. // http://md52.altervista.org
  7.  
  8. unit md5;
  9.  
  10. interface
  11.  
  12. uses
  13.  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  14.  Dialogs, sSkinManager, StdCtrls, sButton, sEdit, sGroupBox, jpeg, ExtCtrls,
  15.  ComCtrls, sStatusBar, IdBaseComponent, IdComponent, IdTCPConnection,
  16.  IdTCPClient, IdHTTP, PerlRegEx;
  17.  
  18. type
  19.  TForm1 = class(TForm)
  20.    sSkinManager1: TsSkinManager;
  21.    Image1: TImage;
  22.    sGroupBox1: TsGroupBox;
  23.    sEdit1: TsEdit;
  24.    sGroupBox2: TsGroupBox;
  25.    sEdit2: TsEdit;
  26.    sGroupBox3: TsGroupBox;
  27.    sStatusBar1: TsStatusBar;
  28.    Crack: TsButton;
  29.    sButton1: TsButton;
  30.    sButton2: TsButton;
  31.    sButton3: TsButton;
  32.    IdHTTP1: TIdHTTP;
  33.    PerlRegEx1: TPerlRegEx;
  34.    procedure sButton2Click(Sender: TObject);
  35.    procedure sButton3Click(Sender: TObject);
  36.    procedure CrackClick(Sender: TObject);
  37.    procedure sButton1Click(Sender: TObject);
  38.    procedure FormCreate(Sender: TObject);
  39.  private
  40.    { Private declarations }
  41.  public
  42.    { Public declarations }
  43.  end;
  44.  
  45. var
  46.  Form1: TForm1;
  47.  
  48. implementation
  49.  
  50. {$R *.dfm}
  51.  
  52. procedure TForm1.CrackClick(Sender: TObject);
  53. var
  54.  rta: string;
  55.  
  56. begin
  57.  
  58.  sStatusBar1.Panels[0].text := '[+] Searching in md5.hashcracking.com ...';
  59.  Form1.sStatusBar1.Update;
  60.  
  61.  rta := IdHTTP1.Get
  62.    ('http://md5.hashcracking.com/search.php?md5=' + sEdit1.text);
  63.  
  64.  PerlRegEx1.Regex := 'Cleartext of (.*) is (.*)';
  65.  PerlRegEx1.Subject := rta;
  66.  if PerlRegEx1.Match then
  67.  begin
  68.    sEdit2.text := PerlRegEx1.SubExpressions[2];
  69.    sStatusBar1.Panels[0].text := '[+] Done';
  70.    Form1.sStatusBar1.Update;
  71.  end
  72.  else
  73.  begin
  74.  
  75.    sStatusBar1.Panels[0].text := '[+] Searching in md5.rednoize.com ...';
  76.    Form1.sStatusBar1.Update;
  77.  
  78.    rta := IdHTTP1.Get('http://md5.rednoize.com/?q=' + sEdit1.text);
  79.  
  80.    PerlRegEx1.Regex := '<div id=\"result\" >(.*)<\/div>';
  81.    PerlRegEx1.Subject := rta;
  82.    if PerlRegEx1.Match then
  83.  
  84.    begin
  85.  
  86.      if not(Length(PerlRegEx1.SubExpressions[1]) = 32) then
  87.      begin
  88.        sEdit2.text := PerlRegEx1.SubExpressions[1];
  89.        sStatusBar1.Panels[0].text := '[+] Done';
  90.        Form1.sStatusBar1.Update;
  91.      end
  92.      else
  93.  
  94.      begin
  95.  
  96.        sStatusBar1.Panels[0].text :=
  97.          '[+] Searching in md52.altervista.org ...';
  98.        Form1.sStatusBar1.Update;
  99.  
  100.        rta := IdHTTP1.Get
  101.          ('http://md52.altervista.org/index.php?md5=' + sEdit1.text);
  102.  
  103.        PerlRegEx1.Regex :=
  104.          '<br>Password: <font color=\"Red\">(.*)<\/font><\/b>';
  105.        PerlRegEx1.Subject := rta;
  106.  
  107.        if PerlRegEx1.Match then
  108.        begin
  109.          sEdit2.text := PerlRegEx1.SubExpressions[1];
  110.          sStatusBar1.Panels[0].text := '[+] Done';
  111.          Form1.sStatusBar1.Update;
  112.  
  113.        end
  114.        else
  115.        begin
  116.          sEdit2.text := '';
  117.          sStatusBar1.Panels[0].text := '[-] Not Found';
  118.          Form1.sStatusBar1.Update;
  119.        end;
  120.      end;
  121.  
  122.    end;
  123.  end;
  124.  
  125. end;
  126.  
  127. procedure TForm1.FormCreate(Sender: TObject);
  128. begin
  129.  sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName) + 'Data';
  130.  sSkinManager1.SkinName := 'neonnight';
  131.  sSkinManager1.Active := True;
  132. end;
  133.  
  134. procedure TForm1.sButton1Click(Sender: TObject);
  135. begin
  136.  sEdit2.SelectAll;
  137.  sEdit2.CopyToClipboard;
  138. end;
  139.  
  140. procedure TForm1.sButton2Click(Sender: TObject);
  141. begin
  142.  ShowMessage('Contact to lepuke[at]hotmail[com]');
  143. end;
  144.  
  145. procedure TForm1.sButton3Click(Sender: TObject);
  146. begin
  147.  Form1.Close();
  148. end;
  149.  
  150. end.
  151.  
  152. // The End ?
  153.  

Si quieren bajar el programa lo pueden hacer de aca.

2  Programación / Scripting / Re: [Perl] VirusTotal Scanner 0.1 en: 17 Mayo 2013, 18:43
La verdad no entiendo para que traduces algo de un lenguaje a otro...

si , es porque siempre me gusta programar en los lenguajes que conozco que son Perl,Python,Ruby,PHP,Delphi,C,Java y proximamente C#.
3  Programación / Scripting / Re: [Perl] VirusTotal Scanner 0.1 en: 16 Mayo 2013, 22:23
Gracias muy bueno el código.  ;-)


PD: no escanea un archivo. Retorna el reporte de un archivo ya escaneado.

saludos

si , me exprese mal.
4  Programación / Scripting / [Perl] VirusTotal Scanner 0.1 en: 16 Mayo 2013, 19:21
Un simple script para scannear un archivo mediante el API de virustotal , la idea se me ocurrio cuando vi este script en python hecho por Sanko del foro Underc0de.

Una imagen :



Código
  1. #!usr/bin/perl
  2. #VirusTotal Scanner 0.1
  3. #Coded By Doddy H
  4. #ppm install http://www.bribes.org/perl/ppm/JSON.ppd
  5. #ppm install http://trouchelle.com/ppm/Digest-MD5-File.ppd
  6. #ppm install http://www.bribes.org/perl/ppm/Crypt-SSLeay.ppd
  7. #ppm install http://trouchelle.com/ppm/Color-Output.ppd
  8.  
  9. use JSON;
  10. use Digest::MD5::File qw(file_md5_hex);
  11. use LWP::UserAgent;
  12. use Color::Output;
  13. Color::Output::Init;
  14.  
  15. my $nave = LWP::UserAgent->new;
  16. $nave->agent(
  17. "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"
  18. );
  19. $nave->timeout(5);
  20.  
  21. my $api_key = "yourapi"
  22.  ;    #Your API Key
  23.  
  24. head();
  25.  
  26. unless ( $ARGV[0] ) {
  27.    printear( "[+] Sintax : $0 <file to scan>", "text", "11", "5" );
  28.  
  29.    copyright();
  30.    exit(1);
  31. }
  32. else {
  33.  
  34.    unless ( -f $ARGV[0] ) {
  35.        printear( "\n[-] File Not Found\n", "text", "5", "5" );
  36.        copyright();
  37.    }
  38.  
  39.    my $md5 = file_md5_hex( $ARGV[0] );
  40.  
  41.    printear( "\n[+] Checking ...\n", "text", "7", "5" );
  42.  
  43.    my $code = tomar(
  44.        "https://www.virustotal.com/vtapi/v2/file/report",
  45.        { "resource" => $md5, "apikey" => $api_key }
  46.    );
  47.  
  48.    if ( $code =~ /"response_code": 0/ ) {
  49.        printear( "\n[+] Not Found\n", "text", "7", "5" );
  50.        exit(1);
  51.    }
  52.  
  53.    my $dividir = decode_json $code;
  54.  
  55.    printear( "[+] Getting data ...\n", "text", "7", "5" );
  56.  
  57.    printear( "[+] Scan ID : " . $dividir->{scan_id},     "text", "13", "5" );
  58.    printear( "[+] Scan Date : " . $dividir->{scan_date}, "text", "13", "5" );
  59.    printear( "[+] Permalink : " . $dividir->{permalink}, "text", "13", "5" );
  60.    printear(
  61.        "[+] Virus Founds : " . $dividir->{positives} . "/" . $dividir->{total},
  62.        "text", "13", "5"
  63.    );
  64.  
  65.    printear( "\n[+] Getting list ...\n", "text", "7", "5" );
  66.  
  67.    my %abrir = %{ $dividir->{scans} };
  68.  
  69.    for my $antivirus ( keys %abrir ) {
  70.  
  71.        if ( $abrir{$antivirus}{"result"} eq "" ) {
  72.            printear( "[+] " . $antivirus . " : Clean", "text", "11", "5" );
  73.        }
  74.        else {
  75.            printear(
  76.                "[+] " . $antivirus . " : " . $abrir{$antivirus}{"result"},
  77.                "text", "5", "5" );
  78.        }
  79.    }
  80.  
  81.    printear( "\n[+] Finished\n", "text", "7", "5" );
  82.    copyright();
  83.  
  84. }
  85.  
  86. sub head {
  87.    printear( "\n-- == VirusTotal Scanner 0.1 == --\n", "text", "13", "5" );
  88. }
  89.  
  90. sub copyright {
  91.    printear( "\n[+] Written By Doddy H", "text", "13", "5" );
  92.    exit(1);
  93. }
  94.  
  95. sub printear {
  96.    if ( $_[1] eq "text" ) {
  97.        cprint( "\x03" . $_[2] . $_[0] . "\x030\n" );
  98.    }
  99.    elsif ( $_[1] eq "stdin" ) {
  100.        if ( $_[3] ne "" ) {
  101.            cprint( "\x03" . $_[2] . $_[0] . "\x030" . "\x03" . $_[3] );
  102.            my $op = <stdin>;
  103.            chomp $op;
  104.            cprint("\x030");
  105.            return $op;
  106.        }
  107.    }
  108.    else {
  109.        print "error\n";
  110.    }
  111. }
  112.  
  113. sub tomar {
  114.    my ( $web, $var ) = @_;
  115.    return $nave->post( $web, [ %{$var} ] )->content;
  116. }
  117.  
  118. #The End ?
  119.  
5  Programación / Scripting / [Perl] Imageshack Uploader 0.1 en: 14 Mayo 2013, 20:11
Un simple script para subir imagenes a Imageshack.

El codigo :

Código
  1. #!usr/bin/perl
  2. #Imageshack Uploader 0.1
  3. #Coded By Doddy H
  4. #ppm install http://www.bribes.org/perl/ppm/Crypt-SSLeay.ppd
  5.  
  6. use LWP::UserAgent;
  7.  
  8. my $nave = LWP::UserAgent->new;
  9. $nave->agent(
  10. "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"
  11. );
  12. $nave->timeout(5);
  13.  
  14. head();
  15.  
  16. unless ( $ARGV[0] ) {
  17.    print "\n[+] Sintax : $0 <image>\n";
  18. }
  19. else {
  20.  
  21.    my $your_key = "YOURKEY";    #Your API Key
  22.  
  23.    print "\n[+] Uploading ...\n";
  24.  
  25.    my $code = $nave->post(
  26.        "https://post.imageshack.us/upload_api.php",
  27.        Content_Type => "form-data",
  28.        Content      => [
  29.            key        => $your_key,
  30.            fileupload => [ $ARGV[0] ],
  31.            format     => "json"
  32.        ]
  33.    )->content;
  34.  
  35.    if ( $code =~ /"image_link":"(.*?)"/ ) {
  36.        print "\n[+] Link : " . $1 . "\n";
  37.    }
  38.    else {
  39.        print "\n[-] Error\n";
  40.    }
  41. }
  42.  
  43. copyright();
  44.  
  45. sub head {
  46.    print "\n-- == Imageshack Uploader 0.1 == --\n";
  47. }
  48.  
  49. sub copyright {
  50.    print "\n[+] Written By Doddy H\n";
  51. }
  52.  
  53. #The End ?
  54.  
6  Programación / Scripting / [Perl] AnonFiles Uploader en: 14 Mayo 2013, 00:13
Traduccion a Perl del programa hecho por $DoC llamado AnonFiles Uploader hecho para subir archivos a la pagina AnonFiles.

Código
  1. #!usr/bin/perl
  2. #AnonFiles Uploader
  3. #Original author: $ DoC
  4. #Translations made by Doddy H
  5. #
  6. #ppm install http://www.bribes.org/perl/ppm/Crypt-SSLeay.ppd
  7. #
  8.  
  9. use LWP::UserAgent;
  10.  
  11. my $nave = LWP::UserAgent->new;
  12. $nave->agent(
  13. "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"
  14. );
  15. $nave->timeout(5);
  16.  
  17. unless ( $ARGV[0] ) {
  18.    print "\n[+] Sintax : $0 <file>\n";
  19. }
  20. else {
  21.  
  22.    print "\n[+] Uploading ...\n";
  23.  
  24.    my $code = $nave->post(
  25.        "https://anonfiles.com/api?plain",
  26.        Content_Type => "form-data",
  27.        Content      => [ file => [ $ARGV[0] ] ]
  28.    )->content;
  29.  
  30.    if ( $code =~ /https:\/\/anonfiles\.com\/file\// ) {
  31.        print "\n[+] Link : " . $code . "\n";
  32.    }
  33.    else {
  34.        print "\n[-] Error\n";
  35.    }
  36.  
  37. }
  38.  
  39. #The End ?
  40.  
7  Programación / Programación General / [Delphi] DH Player 0.1 en: 13 Mayo 2013, 23:40
Un simple reproductor de musica que hice basado en este articulo.

Una imagen :



El codigo :

Código
  1. // DH Player 0.1
  2. // Coded By Doddy H
  3. // Based on this article : http://delphi.about.com/od/multimedia/l/aa112800a.htm
  4.  
  5. unit mp3player;
  6.  
  7. interface
  8.  
  9. uses
  10.  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  11.  Dialogs, Menus, StdCtrls, sListBox, sSkinManager, MPlayer, sGroupBox, jpeg,
  12.  ExtCtrls, ComCtrls, acProgressBar, Buttons, FileCtrl, sEdit;
  13.  
  14. type
  15.  TForm1 = class(TForm)
  16.    sSkinManager1: TsSkinManager;
  17.    sGroupBox1: TsGroupBox;
  18.    sListBox1: TsListBox;
  19.    sGroupBox2: TsGroupBox;
  20.    MediaPlayer1: TMediaPlayer;
  21.    Image1: TImage;
  22.    sGroupBox3: TsGroupBox;
  23.    sProgressBar1: TsProgressBar;
  24.    PopupMenu1: TPopupMenu;
  25.    L1: TMenuItem;
  26.    R1: TMenuItem;
  27.    A1: TMenuItem;
  28.    E1: TMenuItem;
  29.    Directory: TsGroupBox;
  30.    sEdit1: TsEdit;
  31.    Timer1: TTimer;
  32.    procedure A1Click(Sender: TObject);
  33.    procedure E1Click(Sender: TObject);
  34.    procedure R1Click(Sender: TObject);
  35.    procedure L1Click(Sender: TObject);
  36.    procedure Timer1Timer(Sender: TObject);
  37.    procedure sListBox1DblClick(Sender: TObject);
  38.    procedure FormCreate(Sender: TObject);
  39.  
  40.  private
  41.    { Private declarations }
  42.  public
  43.    { Public declarations }
  44.  end;
  45.  
  46. var
  47.  Form1: TForm1;
  48.  
  49. implementation
  50.  
  51. {$R *.dfm}
  52.  
  53. procedure TForm1.A1Click(Sender: TObject);
  54. begin
  55.  ShowMessage('Contact to lepuke[at]hotmail[com]');
  56. end;
  57.  
  58. procedure TForm1.E1Click(Sender: TObject);
  59. begin
  60.  Form1.Close();
  61. end;
  62.  
  63. procedure TForm1.FormCreate(Sender: TObject);
  64. begin
  65.  sProgressBar1.Max := 0;
  66.  sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName) + 'Data';
  67.  sSkinManager1.SkinName := 'fm';
  68.  sSkinManager1.Active := True;
  69. end;
  70.  
  71. procedure TForm1.L1Click(Sender: TObject);
  72. var
  73.  dir: string;
  74.  search: TSearchRec;
  75.  cantidad: Integer;
  76.  
  77. begin
  78.  
  79.  SelectDirectory('Select a folder', '', dir);
  80.  
  81.  sListBox1.Clear;
  82.  
  83.  sEdit1.Text := dir;
  84.  cantidad := FindFirst(dir + '/' + '*.*', faAnyFile, search);
  85.  
  86.  while cantidad = 0 do
  87.  begin
  88.    if FileExists(dir + '/' + search.name) then
  89.    begin
  90.      sListBox1.Items.Add(search.name);
  91.    end;
  92.    cantidad := FindNext(search);
  93.  end;
  94.  FindClose(search);
  95.  
  96. end;
  97.  
  98. procedure TForm1.R1Click(Sender: TObject);
  99. begin
  100.  sEdit1.Text := '';
  101.  sProgressBar1.Max := 0;
  102.  sListBox1.Clear;
  103. end;
  104.  
  105. procedure TForm1.sListBox1DblClick(Sender: TObject);
  106. begin
  107.  
  108.  sProgressBar1.Max := 0;
  109.  
  110.  MediaPlayer1.Close;
  111.  MediaPlayer1.FileName := sEdit1.Text + '/' + sListBox1.Items.Strings
  112.    [sListBox1.ItemIndex];
  113.  MediaPlayer1.Open;
  114.  
  115.  sProgressBar1.Max := MediaPlayer1.Length;
  116. end;
  117.  
  118. procedure TForm1.Timer1Timer(Sender: TObject);
  119. begin
  120.  if sProgressBar1.Max <> 0 then
  121.    sProgressBar1.Position := MediaPlayer1.Position;
  122. end;
  123.  
  124. end.
  125.  
  126. // The End ?
  127.  

Si lo quieren bajar lo pueden hacer de aca
8  Programación / Programación General / Re: [Delphi] LocateIP 0.1 en: 12 Mayo 2013, 15:13
no creo que sea dificil superarme.

parece que a softpedia le intereso este programa porque lo publicaron  aca.
9  Programación / Programación General / [Delphi] GetWhois 0.1 en: 5 Mayo 2013, 18:33
Siempre habia querido hacer un programa para hacer un whois en delphi pero en ese entonces no conocia delphi lo suficiente como para poder hacerlo , hoy me tome unos 10 min libres y logre hacer uno , para hacerlo instale indy y escribi unas pocas lineas para hacerlo.

Una imagen :



El codigo (muy corto xD)

Código
  1. // GetWhois 0.1
  2. // Coded By Doddy H in the year 2013
  3.  
  4. unit whois;
  5.  
  6. interface
  7.  
  8. uses
  9.  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  10.  Dialogs, StdCtrls, sMemo, sButton, sEdit, sLabel, sGroupBox, sSkinManager,
  11.  IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdWhois, ComCtrls,
  12.  sStatusBar, jpeg, ExtCtrls;
  13.  
  14. type
  15.  TForm1 = class(TForm)
  16.    sSkinManager1: TsSkinManager;
  17.    sGroupBox1: TsGroupBox;
  18.    sLabel1: TsLabel;
  19.    sEdit1: TsEdit;
  20.    sButton1: TsButton;
  21.    sGroupBox2: TsGroupBox;
  22.    sMemo1: TsMemo;
  23.    IdWhois1: TIdWhois;
  24.    sStatusBar1: TsStatusBar;
  25.    Image1: TImage;
  26.    procedure sButton1Click(Sender: TObject);
  27.    procedure FormCreate(Sender: TObject);
  28.  private
  29.    { Private declarations }
  30.  public
  31.    { Public declarations }
  32.  end;
  33.  
  34. var
  35.  Form1: TForm1;
  36.  
  37. implementation
  38.  
  39. {$R *.dfm}
  40.  
  41. procedure TForm1.FormCreate(Sender: TObject);
  42. begin
  43.  sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName) + 'Data';
  44.  sSkinManager1.SkinName := 'garnet';
  45.  sSkinManager1.Active := True;
  46. end;
  47.  
  48. procedure TForm1.sButton1Click(Sender: TObject);
  49. begin
  50.  
  51.  if sEdit1.text = '' then
  52.  begin
  53.    ShowMessage('Write the domain');
  54.  end
  55.  else
  56.  begin
  57.    sStatusBar1.Panels[0].text := '[+] Searching ...';
  58.    Form1.sStatusBar1.Update;
  59.  
  60.    sMemo1.Clear;
  61.    sMemo1.Lines.text := IdWhois1.whois(sEdit1.text);
  62.  
  63.    sStatusBar1.Panels[0].text := '';
  64.    Form1.sStatusBar1.Update;
  65.  end;
  66. end;
  67.  
  68. end.
  69.  
  70. // The End ?
  71.  

Si lo quieren bajar lo pueden hacer de aca.
10  Programación / Programación General / Re: [Delphi] LocateIP 0.1 en: 3 Mayo 2013, 19:07
no le eh intentado con el API , pero usar indy me parece facil.

11  Programación / Programación General / [Delphi] LocateIP 0.1 en: 25 Abril 2013, 22:46
Traduccion a Delphi de este programa para localizar una IP.

Una imagen :



El codigo :

Código
  1. // LocateIP 0.1
  2. // Coded By Doddy H in the year 2013
  3. // Based on the services :
  4. // To get IP -- http://whatismyipaddress.com/
  5. // To locate IP -- http://www.melissadata.com/
  6. // To get DNS -- http://www.ip-adress.com/
  7.  
  8. unit locateip;
  9.  
  10. interface
  11.  
  12. uses
  13.  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  14.  Dialogs, sSkinManager, jpeg, ExtCtrls, StdCtrls, sLabel, sGroupBox, sButton,
  15.  sEdit, sListBox, ComCtrls, sStatusBar, IdBaseComponent, IdComponent,
  16.  IdTCPConnection, IdTCPClient, IdHTTP, PerlRegEx, IdMultipartFormData;
  17.  
  18. type
  19.  TForm1 = class(TForm)
  20.    sSkinManager1: TsSkinManager;
  21.    Image1: TImage;
  22.    sGroupBox1: TsGroupBox;
  23.    sLabel1: TsLabel;
  24.    sEdit1: TsEdit;
  25.    sButton1: TsButton;
  26.    sGroupBox2: TsGroupBox;
  27.    sLabel2: TsLabel;
  28.    sEdit2: TsEdit;
  29.    sLabel3: TsLabel;
  30.    sEdit3: TsEdit;
  31.    sLabel4: TsLabel;
  32.    sEdit4: TsEdit;
  33.    sGroupBox3: TsGroupBox;
  34.    sListBox1: TsListBox;
  35.    PerlRegEx1: TPerlRegEx;
  36.    IdHTTP1: TIdHTTP;
  37.    sStatusBar1: TsStatusBar;
  38.    procedure sButton1Click(Sender: TObject);
  39.    procedure FormCreate(Sender: TObject);
  40.  
  41.  private
  42.    { Private declarations }
  43.  public
  44.    { Public declarations }
  45.  end;
  46.  
  47. var
  48.  Form1: TForm1;
  49.  
  50. implementation
  51.  
  52. {$R *.dfm}
  53.  
  54. procedure TForm1.FormCreate(Sender: TObject);
  55. begin
  56.  sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName) + 'Data';
  57.  sSkinManager1.SkinName := 'matrix';
  58.  sSkinManager1.Active := True;
  59. end;
  60.  
  61. procedure TForm1.sButton1Click(Sender: TObject);
  62. var
  63.  rta: string;
  64.  z: integer;
  65.  par: TIdMultiPartFormDataStream;
  66. begin
  67.  
  68.  if sEdit1.text = '' then
  69.  begin
  70.    ShowMessage('Write the target');
  71.  end
  72.  else
  73.  begin
  74.    sStatusBar1.Panels[0].text := '[+] Getting IP ...';
  75.    Form1.sStatusBar1.Update;
  76.  
  77.    par := TIdMultiPartFormDataStream.Create;
  78.    par.AddFormField('DOMAINNAME', sEdit1.text);
  79.  
  80.    rta := IdHTTP1.Post('http://whatismyipaddress.com/hostname-ip', par);
  81.  
  82.    PerlRegEx1.Regex := 'Lookup IP Address: <a href=(.*)>(.*)<\/a>';
  83.    PerlRegEx1.Subject := rta;
  84.  
  85.    if PerlRegEx1.Match then
  86.    begin
  87.      sEdit1.text := PerlRegEx1.SubExpressions[2];
  88.  
  89.      // Locating ...
  90.  
  91.      sStatusBar1.Panels[0].text := '[+] Locating ...';
  92.      Form1.sStatusBar1.Update;
  93.  
  94.      rta := IdHTTP1.Get(
  95.        'http://www.melissadata.com/lookups/iplocation.asp?ipaddress=' +
  96.          sEdit1.text);
  97.  
  98.      PerlRegEx1.Regex := 'City<\/td><td align=(.*)><b>(.*)<\/b><\/td>';
  99.      PerlRegEx1.Subject := rta;
  100.  
  101.      if PerlRegEx1.Match then
  102.      begin
  103.        sEdit2.text := PerlRegEx1.SubExpressions[2];
  104.      end
  105.      else
  106.      begin
  107.        sEdit2.text := 'Not Found';
  108.      end;
  109.  
  110.      PerlRegEx1.Regex := 'Country<\/td><td align=(.*)><b>(.*)<\/b><\/td>';
  111.      PerlRegEx1.Subject := rta;
  112.  
  113.      if PerlRegEx1.Match then
  114.      begin
  115.        sEdit3.text := PerlRegEx1.SubExpressions[2];
  116.      end
  117.      else
  118.      begin
  119.        sEdit3.text := 'Not Found';
  120.      end;
  121.  
  122.      PerlRegEx1.Regex :=
  123.        'State or Region<\/td><td align=(.*)><b>(.*)<\/b><\/td>';
  124.      PerlRegEx1.Subject := rta;
  125.  
  126.      if PerlRegEx1.Match then
  127.      begin
  128.        sEdit4.text := PerlRegEx1.SubExpressions[2];
  129.      end
  130.      else
  131.      begin
  132.        sEdit4.text := 'Not Found';
  133.      end;
  134.  
  135.      //
  136.  
  137.      // Get DNS
  138.  
  139.      sStatusBar1.Panels[0].text := '[+] Getting DNS ...';
  140.      Form1.sStatusBar1.Update;
  141.  
  142.      sListBox1.Items.Clear;
  143.  
  144.      rta := IdHTTP1.Get('http://www.ip-adress.com/reverse_ip/' + sEdit1.text);
  145.  
  146.      PerlRegEx1.Regex := 'whois\/(.*?)\">Whois';
  147.      PerlRegEx1.Subject := rta;
  148.  
  149.      while PerlRegEx1.MatchAgain do
  150.      begin
  151.        for z := 1 to PerlRegEx1.SubExpressionCount do
  152.          sListBox1.Items.Add(PerlRegEx1.SubExpressions[z]);
  153.      end;
  154.  
  155.      //
  156.  
  157.    end
  158.    else
  159.    begin
  160.      sStatusBar1.Panels[0].text := '[-] Error';
  161.      Form1.sStatusBar1.Update;
  162.    end;
  163.  
  164.    sStatusBar1.Panels[0].text := '';
  165.    Form1.sStatusBar1.Update;
  166.  
  167.  end;
  168. end;
  169.  
  170. end.
  171.  
  172. // The End ?
  173.  

Si lo quieren bajar lo pueden hacer de aca.

12  Programación / Java / Re: [Java] Diccionario Online 0.1 en: 8 Abril 2013, 17:42
tenes toda la razon EleKtro H@cker , parece que $Edu$ ya tiene un problema personal conmigo xDD.
13  Programación / Java / Re: [Java] Diccionario Online 0.1 en: 8 Abril 2013, 01:19
Podrias crear una aplicacion para localizar todos tus codigos posteados aca en el foro y guardarlos en documentos de texto o como tu quieras.

Seguramente los tienes ya guardados, pero tener un programa que lleves en tu pendrive que te cargue solo el titulo de cada codigo que tienes aqui, o que tengas para escribir el codigo a buscar y te lo encuentre, estaria bueno, por lo menos para ti xD

ajaja , tremendo troll , pero no te preocupes los codigos que importan estan en esta cuenta de Pastebin y en esta de Sourceforge.
14  Programación / Java / Re: [Java] Diccionario Online 0.1 en: 8 Abril 2013, 00:23
Yo lo veo mas como SPAM de sus propios codigos xD
Lo unico que hace es publicar codigos que hace en los lenguajes que sabe. El mismo programa en 4 o 5 lenguajes distintos jajaja.
Es como si fuera un bot que le han encargado hacer codigos jajajaja.

tampoco es spam , en realidad no puedo evitar programar en cualquiera de los lenguajes que conozco , mas bien es una adiccion xDD.

Eso no es un diccionario: eso es la suerte que has tenido que las palabras estén distribuidas bien. Yo no estaría tan orgulloso, eso lo puedes hacer hasta con batch.

este programa lo hice para empezar y entender un poco java.
15  Programación / Scripting / [Perl] Project DH Joiner 0.5 en: 31 Marzo 2013, 23:53
Un simple Joiner hecho en Perl.

Una imagen del generador :



Pueden bajar el programa desde aca.
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... 22
Powered by SMF 1.1.18 | SMF © 2006-2008, Simple Machines