Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




bugtraq logo Bugtraq mailing list archives

Re: HP Secure Web Console
From: Rolf.Thillmann () TELEKOM DE (Thillmann, Rolf)
Date: Tue, 28 Dec 1999 15:46:45 +0100


William Randolph Royere III wrote:

#include <stdio.h>
#include <ctype.h>

void main() {
   int user_input;
   while((user_input=getchar())) {

           if (islower(user_input))
            user_input = 'a' + (user_input - 'a' + 18) % 26;
          if (isupper(user_input))
            user_input = 'A' + (user_input - 'A' + 18) % 26;

         /* convert to string and put a reverse string function here */
        putchar(user_input);
 }

I think the program has to be modified a bit:

...
          if (islower(user_input))
            user_input = 'A' + (user_input - 'a' + 18) % 26;
          else if (isupper(user_input))
                  user_input = 'a' + (user_input - 'A' + 18) % 26;
...


--
Rolf Thillmann



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]