Full Disclosure mailing list archives

Re: A small typo


From: es () hush com
Date: Sat, 30 Nov 2002 06:30:09 -0800


-----BEGIN PGP SIGNED MESSAGE-----

Thanks.

The Electronic Souls Crew
[ElectronicSouls] (c) 2002

"The Agony of Life"

On Fri, 29 Nov 2002 23:44:00 -0800 Harshul Nayak <6L4Di4T0R () attitudex com> wrote:
hello es,

seems like a typo , on the c-prog which u dist on the list ,

# cat sysinfo.c
/*
* (C) BrainStorm - ElectronicSouls
* small application to get some system information
* yes i know its simple..so ? doesnt make it useless :P
* might be a nice bin for Blackhat linux :>
*/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>

----SNIP----

if (strstr(argv[1], "-pt") != NULL)
      {
        printf("\n *** PARTITIONS: *** \n\n");
        execl("/bin/cat","/bin/cat","/proc/partitions",0);
      }

      if (strstr(argv[1], "-pt") != NULL)
      {
        printf("\n *** INTERRUPTS: *** \n\n");
        execl("/bin/cat","/bin/cat","/proc/interrupts",0);
      }

It should be
   if (strstr(argv[1], "-ir") != NULL)

-regs
6L4Di4T0R

*********************************************************************
"The shell must be cracked apart if what is in it is to come out,
for
if you want the kernel you must break the shell.  And therefore,
if
you want to discover nature's nakedness, you must destroy its symbols,

and the farther you get in, the nearer you come to its essence.
When
you come to the One that gathers all things up into itself, there
your
soul must stay."

-Meister Eckhart

_____________________________________________________________
---------------------------
[ATTITUDEX.COM]
http://www.attitudex.com/
---------------------------

_____________________________________________________________
Select your own custom email address for FREE! Get you () yourchoice com
w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag


-----BEGIN PGP SIGNATURE-----
Version: Hush 2.2 (Java)
Note: This signature can be verified at https://www.hushtools.com/verify

wlMEARECABMFAj3ozBgMHGVzQGh1c2guY29tAAoJEN5nGqhGcjltRLIAmwQ91xHhFEsb
o+U1PT3j7H8mTPKdAJ41TCHjm+MMV/oG2puNRY7IXmgHSg==
=xJ9A
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2 

Big $$$ to be made with the HushMail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: