Thread: anyone used base64.h in a c++ program?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319
    so i am trying to access a page that needs login so instead of using base64 from the source i just use a convertor

    char *Http = "GET /index.php/ HTTP/1.1\r\nHost: www.somesite.com\r\n\r\n""Authorization: Basic XXXXXXXXXXXXXXXX"; //so this means i dont have to login???

    this is nothing malicous i am just trying to parse forum posts from a site
    Last edited by Anddos; 03-22-2009 at 10:39 AM. Reason: Had the password in the body - Removed by someone else ;)

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Quote Originally Posted by Anddos View Post
    so i am trying to access a page that needs login so instead of using base64 from the source i just use a convertor

    char *Http = "GET /index.php/ HTTP/1.1\r\nHost: www.somesite.com\r\n\r\n""Authorization: Basic XXXXXXXXXXXXXXXX"; //so this means i dont have to login???

    this is nothing malicous i am just trying to parse forum posts from a site
    Way to go. You had a base64 encoded string baring your username and password for this site. I logged into your account and removed it for you. Be careful - other people might to more malicious things. I hope I was quick enough for you .
    So yes, the base64 encoding was fine :P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM