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

 

 


Tema destacado: Usando Git para manipular el directorio de trabajo, el índice y commits (segunda parte)


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  [Delphi] HTTP FingerPrinting 0.1
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Delphi] HTTP FingerPrinting 0.1  (Leído 1,570 veces)
BigBear


Desconectado Desconectado

Mensajes: 545



Ver Perfil
[Delphi] HTTP FingerPrinting 0.1
« en: 22 Junio 2013, 17:19 pm »

Un simple HTTP FingerPrinting hecho en Delphi.

Una imagen :



El codigo :

Código
  1. // HTTP FingerPrinting 0.1
  2. // Coded By Doddy H
  3.  
  4. unit http;
  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, IdHTTP,
  12.  IdCookieManager, Sockets, ComCtrls, sStatusBar, jpeg, ExtCtrls;
  13.  
  14. type
  15.  TForm1 = class(TForm)
  16.    sSkinManager1: TsSkinManager;
  17.    sGroupBox1: TsGroupBox;
  18.    sEdit1: TsEdit;
  19.    sButton1: TsButton;
  20.    sGroupBox2: TsGroupBox;
  21.    sMemo1: TsMemo;
  22.    IdHTTP1: TIdHTTP;
  23.    sStatusBar1: TsStatusBar;
  24.    Image1: TImage;
  25.    IdCookieManager1: TIdCookieManager;
  26.    procedure sButton1Click(Sender: TObject);
  27.    procedure FormCreate(Sender: TObject);
  28.  
  29.  private
  30.    { Private declarations }
  31.  public
  32.    { Public declarations }
  33.  end;
  34.  
  35. var
  36.  Form1: TForm1;
  37.  
  38. implementation
  39.  
  40. {$R *.dfm}
  41.  
  42. procedure TForm1.FormCreate(Sender: TObject);
  43. begin
  44.  sSkinManager1.SkinDirectory := ExtractFilePath(Application.ExeName) + 'Data';
  45.  sSkinManager1.SkinName := 'cappuccino';
  46.  sSkinManager1.Active := True;
  47. end;
  48.  
  49. procedure TForm1.sButton1Click(Sender: TObject);
  50. var
  51.  i: integer;
  52.  
  53. begin
  54.  
  55.  sStatusBar1.Panels[0].text := '[+] Working ...';
  56.  Form1.sStatusBar1.Update;
  57.  
  58.  sMemo1.Clear;
  59.  
  60.  try
  61.  
  62.    IdHTTP1.Get(sEdit1.text);
  63.  
  64.    sMemo1.Lines.Add('[+] ' + IdHTTP1.Response.ResponseText);
  65.    sMemo1.Lines.Add('[+] Date : ' + DateTimeToStr(IdHTTP1.Response.Date));
  66.    sMemo1.Lines.Add('[+] Server : ' + IdHTTP1.Response.Server);
  67.    sMemo1.Lines.Add('[+] Last-Modified : ' + DateTimeToStr
  68.        (IdHTTP1.Response.LastModified));
  69.    sMemo1.Lines.Add('[+] ETag: ' + IdHTTP1.Response.ETag);
  70.    sMemo1.Lines.Add('[+] Accept-Ranges : ' + IdHTTP1.Response.AcceptRanges);
  71.    sMemo1.Lines.Add('[+] Content-Length : ' + IntToStr
  72.        (IdHTTP1.Response.ContentLength));
  73.    sMemo1.Lines.Add('[+] Connection : ' + IdHTTP1.Response.Connection);
  74.    sMemo1.Lines.Add('[+] Content-Type : ' + IdHTTP1.Response.ContentType);
  75.  
  76.    for i := 1 to IdCookieManager1.CookieCollection.count do
  77.    begin
  78.      sMemo1.Lines.Add('[+] Cookie : ' + IdCookieManager1.CookieCollection.Items
  79.          [i - 1].CookieText);
  80.    end;
  81.  
  82.    sStatusBar1.Panels[0].text := '[+] Done';
  83.    Form1.sStatusBar1.Update;
  84.  
  85.  except
  86.    sStatusBar1.Panels[0].text := '[-] Error';
  87.    Form1.sStatusBar1.Update;
  88.  
  89.  end;
  90.  
  91. end;
  92.  
  93. end.
  94.  
  95. // The End ?
  96.  

Si lo quieren bajar lo pueden hacer de aca


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
En brutus AET2,¿Que diferencia hay entre HTTP (basic auth) y HTTP(form)?
Hacking
robertito_prado 1 3,192 Último mensaje 7 Julio 2012, 13:48 pm
por robertito_prado
[Perl Tk] HTTP FingerPrinting 0.1
Scripting
BigBear 0 2,692 Último mensaje 14 Septiembre 2013, 00:36 am
por BigBear
[C#] HTTP FingerPrinting 0.2
.NET (C#, VB.NET, ASP)
BigBear 0 2,310 Último mensaje 25 Julio 2014, 19:14 pm
por BigBear
[Ruby] HTTP FingerPrinting 0.2
Scripting
BigBear 0 1,555 Último mensaje 12 Julio 2015, 17:27 pm
por BigBear
[Java] HTTP FingerPrinting 0.2
Java
BigBear 0 1,585 Último mensaje 5 Febrero 2016, 15:11 pm
por BigBear
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines