comment
IRC Chat
play_arrow
Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.

[Perl] Codificator version consola

  • 0 Respuestas
  • 1033 Vistas

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado BigBear

  • *
  • Underc0der
  • Mensajes: 543
  • Actividad:
    0%
  • Reputación 3
    • Ver Perfil
« en: Julio 03, 2011, 10:06:35 pm »
Un simple codificador

Soportes :


  • Hex encode/decode
  • MD5 encode
  • Base64 encode/decode
  • ASCII encode/decode
  • URL encode/decode
Código: Perl
  1. #!usr/bin/perl
  2. #Codificator version consola (C) Doddy Hackman 2011
  3. #This tool encode in :
  4. #
  5. #Hex
  6. #MD5
  7. #Base64
  8. #ASCII
  9. #URL
  10. #
  11. #
  12.  
  13. use Digest::MD5;
  14. use Digest::SHA1;
  15. use MIME::Base64;
  16. use URI::Escape;
  17.  
  18. sub head {
  19. You are not allowed to view links. Register or Login("cls");
  20. You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login(
  21.  
  22.  
  23.  
  24.   @@@            @ @   @ @             @          
  25.  @   @           @    @                @          
  26. @       @@@   @@ @ @ @@@ @  @@@   @@@ @@@  @@@  @ @
  27. @      @   @ @  @@ @  @  @ @   @ @   @ @  @   @ @@
  28. @      @   @ @   @ @  @  @ @      @@@@ @  @   @ @  
  29. @      @   @ @   @ @  @  @ @     @   @ @  @   @ @  
  30.  @   @ @   @ @  @@ @  @  @ @   @ @  @@ @  @   @ @  
  31.   @@@   @@@   @@ @ @  @  @  @@@   @@ @ @@  @@@  @  
  32.  
  33.  
  34.  
  35. );
  36. }
  37.  
  38. head();
  39. You are not allowed to view links. Register or Login "\n[+] Options\n\n";
  40. You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login(
  41. 1 - MD5 encode
  42. 2 - Base64 encode
  43. 3 - Base64 decode
  44. 4 - Ascii encode
  45. 5 - Ascii decode
  46. 6 - Hex encode
  47. 7 - Hex decode
  48. 8 - URL encode
  49. 9 - URL decode
  50. 10 - Exit
  51.  
  52. );
  53. while(true) {
  54. You are not allowed to view links. Register or Login "\n\n[+] Option : ";
  55. You are not allowed to view links. Register or Login(my $op = <stdin>);
  56. You are not allowed to view links. Register or Login "\n\n";
  57. if ($op eq 1) {
  58. You are not allowed to view links. Register or Login "[+] String : ";
  59. You are not allowed to view links. Register or Login(my $string = <stdin>);
  60. You are not allowed to view links. Register or Login "\n\n[+] MD5 : ".Digest::MD5->md5_hex($string)."\n\n";
  61. }
  62. elsif ($op eq 2) {
  63. You are not allowed to view links. Register or Login "[+] String : ";
  64. You are not allowed to view links. Register or Login(my $string = <stdin>);
  65. You are not allowed to view links. Register or Login "\n\n[+] Base64 : ".encode_base64($string);
  66. }
  67. elsif ($op eq 3) {
  68. You are not allowed to view links. Register or Login "[+] String : ";
  69. You are not allowed to view links. Register or Login(my $string = <stdin>);
  70. You are not allowed to view links. Register or Login "\n\n[+] Base64 Decode : ".decode_base64($string)."\n";
  71. }
  72. elsif ($op eq 4) {
  73. You are not allowed to view links. Register or Login "[+] String : ";
  74. You are not allowed to view links. Register or Login(my $string = <stdin>);
  75. You are not allowed to view links. Register or Login "\n\n[+] Ascii : ".You are not allowed to view links. Register or Login ',',You are not allowed to view links. Register or Login "U*",$string;
  76. You are not allowed to view links. Register or Login "\n";
  77. }
  78. elsif ($op eq 5) {
  79. You are not allowed to view links. Register or Login "[+] String : ";
  80. You are not allowed to view links. Register or Login(my $string = <stdin>);
  81. You are not allowed to view links. Register or Login "\n\n[+] Ascii decode : ".You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login[], You are not allowed to view links. Register or Login { You are not allowed to view links. Register or Login } You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login[,],$string."\n";
  82. You are not allowed to view links. Register or Login "\n";
  83. }
  84. elsif ($op eq 6) {
  85. You are not allowed to view links. Register or Login "[+] String : ";
  86. You are not allowed to view links. Register or Login(my $string = <stdin>);
  87. $hex = "0x";
  88. for (You are not allowed to view links. Register or Login //,$string) {
  89. $hex .= You are not allowed to view links. Register or Login "%x", You are not allowed to view links. Register or Login;
  90. }
  91. You are not allowed to view links. Register or Login "\n\n[+] Hex : ".$hex."\n";
  92. }
  93. elsif ($op eq 7) {
  94. You are not allowed to view links. Register or Login "[+] String : ";
  95. You are not allowed to view links. Register or Login(my $string = <stdin>);
  96. $string =~ s/^0x//;
  97. $encode = You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login[], You are not allowed to view links. Register or Login { You are not allowed to view links. Register or Login You are not allowed to view links. Register or Login } $string =~ /../g;
  98. You are not allowed to view links. Register or Login "\n\n[+] Hex decode : ".$encode."\n";
  99. }
  100. elsif ($op eq 8) {
  101. You are not allowed to view links. Register or Login "[+] String : ";
  102. You are not allowed to view links. Register or Login(my $string = <stdin>);
  103. You are not allowed to view links. Register or Login "\n\n[+] URL Encode : ".uri_escape($string)."\n";
  104. }
  105. elsif ($op eq 9) {
  106. You are not allowed to view links. Register or Login "[+] String : ";
  107. You are not allowed to view links. Register or Login(my $string = <stdin>);
  108. You are not allowed to view links. Register or Login "\n\n[+] URL Decode : ".uri_unescape($string)."\n";
  109. }
  110. elsif ($op eq 10) {
  111. copyright();
  112. You are not allowed to view links. Register or Login(1);
  113. }
  114. else {
  115. You are not allowed to view links. Register or Login "[+] Write good stupid !\n";
  116. }
  117. }
  118.  
  119. sub copyright {
  120. You are not allowed to view links. Register or Login "\n-- == Doddy Hackman 2011 == --\n\n";
  121. }
  122.  
  123. # ¿The End ?
  124.  

Ejemplo de uso


Código: You are not allowed to view links. Register or Login




  @@@            @ @   @ @             @
 @   @           @    @                @
@       @@@   @@ @ @ @@@ @  @@@   @@@ @@@  @@@  @ @
@      @   @ @  @@ @  @  @ @   @ @   @ @  @   @ @@
@      @   @ @   @ @  @  @ @      @@@@ @  @   @ @
@      @   @ @   @ @  @  @ @     @   @ @  @   @ @
 @   @ @   @ @  @@ @  @  @ @   @ @  @@ @  @   @ @
  @@@   @@@   @@ @ @  @  @  @@@   @@ @ @@  @@@  @




[+] Options


1 - MD5 encode
2 - Base64 encode
3 - Base64 decode
4 - Ascii encode
5 - Ascii decode
6 - Hex encode
7 - Hex decode
8 - URL encode
9 - URL decode
10 - Exit



[+] Option :
« Última modificación: Julio 17, 2011, 03:39:42 am por Sthefano02 »

 

¿Te gustó el post? COMPARTILO!



Tutorial perl desde cero By: Black Poision & Painboy

Iniciado por ProcessKill

Respuestas: 2
Vistas: 3003
Último mensaje Septiembre 02, 2011, 09:43:36 pm
por blozzter
[Perl] Verificando si es root para correr un script

Iniciado por c1st

Respuestas: 1
Vistas: 1409
Último mensaje Octubre 07, 2012, 06:01:39 pm
por ANTRAX
DoSing IP 1.0 - [Creado por SkillmaX] + Source [PERL]

Iniciado por SkillmaX

Respuestas: 0
Vistas: 1330
Último mensaje Julio 04, 2010, 10:14:31 am
por SkillmaX
[Perl] Iframe DDos Attack Tool

Iniciado por BigBear

Respuestas: 0
Vistas: 1236
Último mensaje Julio 03, 2011, 10:06:45 pm
por BigBear
[Perl] Half Life Servers List 0.1

Iniciado por BigBear

Respuestas: 0
Vistas: 1039
Último mensaje Noviembre 12, 2012, 07:31:50 pm
por BigBear