exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

ummmm.c

ummmm.c
Posted Dec 27, 2000
Authored by Incubus, R00T-dude | Site securax.org

ummmm.c v2.1 is a URL obfuscation tool which converts something like /cgi-bin/some.cgi into %2f%63%67%69%2d%62%69%6e%2f%73%6f%6d%65%2e%63%67%69. It might be used in cgi scanners which require an input file with cgi requests.

tags | cgi
systems | unix
SHA-256 | 4968493ed605717ad8e51ff70428152b2255e6ab112c2e87c121f76b07e16000

ummmm.c

Change Mirror Download
/*
* ummmm.c (version 2.1)
* -------
* Will convert strings like "blah" to "<char(s)>62<char(s)>6c<char(s)>61<char(s)>68" for wrinting stuff in
* shellcode, http ascii code, .....
*
* Respect to Tessa, demongirl, Mr Magnet1c, vorlon, hmm.. Well, the entire Securax crew,
* and so many others we left out.
*
* originaly by Incubus
* <incubus@securax.org>
* http://www.securax.org/incubus
*
* changed by R00T-dude
* <ilja@securax.org>
* http://www.securax.org/htwx
*
*/

#include <stdio.h>
#include <string.h> /* needed for void bzero() */

int main(int argc, char *argv[])
{
FILE *input;
FILE *output;
char getit[5];
char cgi[10000];
int i, b;

if (argc != 3)
{
printf("\nummmm.c v2.1 - translates normal txt to shellcode");
printf("\noriginaly incubus <incubus@securax.org>, changed by R00T-dude <ilja@securax.org>\n");
printf("\nusage %s <filename to read from> <filename to write to>\n\n", argv[0]);
return 0;
}


printf("********************************************\n");
printf("* ummmm v2.1 *\n");
printf("*originaly by incubus, changed by R00T-dude*\n");
printf("* translates normal txt *\n");
printf("* to <char(s)><ascii code> *\n");
printf("********************************************\n");

input = fopen(argv[1],"r");
if (input == NULL)
{
printf("I/O Error. could not open %s\n\n", argv[1]);
return -1;
}

output = fopen(argv[2], "a");
if (output == NULL)
{
printf("I/O Error, could not open %s\n\n", argv[2]);
return -1;
}

printf("give in the character(s) you want before the ascii code [max : 5 chars]: ");
fgets(getit, sizeof(getit), stdin);

for(b=0; b <= sizeof(getit); b++)
{
if(getit[b] == '\n') /* taking off the nextline character !!! */
{
bzero(&getit[b], 1) ;
}
}

while (!feof(input))
{
i=0;
if (fscanf(input, "%c", &cgi[i]))
{
if (cgi[i] != '\n')
{

fprintf(output, "%s%x", getit, cgi[i]);
}
else
fprintf (output, "\n");
}
i++;
}
fclose(input); /* close file properly ! */
fclose(output);/* close file properly ! */
return 0;
}
Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close