Results 1 to 8 of 8

Thread: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

  1. #1
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    เห็นหลายคนในเว็บนี้ให้ความสนใจด้านี้มากผมเองเลยลองทำบทความมาให้ศึกษากันดู ก่อนอื่นบทความแรกนี้ก็อยากให้ลอง crack password ง่ายๆจากโปรแกรมที่ผมเขียนจากโค้ดนี้ดูนะครับ
    [src]
    #include < iostream.h >
    #include < string >
    #define mypass "password" //disire password

    using namespace std;
    void main()
    {
    char input[255];
    std::string passwd;
    do{
    cout<<"please enter password:";
    cin>>input;
    passwd=input;
    if(passwd!=mypass) cout<<"Invalid passwd:n";

    }while(passwd!=mypass);

    cout<<"Correct Password:n";

    }
    [/src]
    ใครที่ไม่อยาก compile sourcecode เองก็ลองเอา file นี้ไป run ดูได้เลยนะครับ(ปลอดไวรัสครับไม่ต้องห่วง) pwd.zipผมจะยังไม่เฉลยนะครับว่ารหัสที่ถูกต้องคืออะไรใครที่ได้แล้วก็ post คำตอบไว้ก่อนเลยนะครับผมจะมาเฉลยแล้วก็บอกวิธีทีหลัง

  2. #2
    Zephyrus
    Guest


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    123456 ครับ :-)

  3. #3
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    Welldone!!, Actually it was really easy. You can use any deassembly tool to searching for desire passwd. If any body had any other solution, I glad to hearing from u.

  4. #4
    Anonymous
    Guest


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    ใช้ program ตัวไหนงะ

  5. #5
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    จริงๆแล้วที่ผมใช้ก็แค่โปรแกรม dumpbin (เครื่องมือที่แถมมากับ MS Visual Studio) แต่ถ้าหากไม่มีก็สามารถใช้ตัวนี้ทดแทนได้
    http://seri.kmutt.ac.th/cs02/citec/forum2/...692&page=0#3668

  6. #6
    Itnojoke
    Guest


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    ทำไงครับสอนผมบ้างดิๆๆ ขอร้องให้ผมกราบเท้าก็ได้ ถึงมานจะเป็นเรื่องพื้นฐานแต่ผมไม่รู้ทำไงอะ

  7. #7
    Itnojoke
    Guest


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    เอางี้นะครับถ้าใคร อยากจใหความกรุณาสอนคนโง่ๆอย่างผมก็แอดอีเมลไปหาผมคุยกับผมนะครับที่ itnojoke@hotmail.com ถ้าแอดมาหาผมจะเป็นความกรุณาอย่างสูง

  8. #8
    Zephyrus
    Guest


    Re: บทที่1 การ cracking program ที่เขียนด้วย c++ อย่างง่าย

    ใช้ Disassembler เอาครับ Tools ก็พวก IDE,dumpbin ใน VC ก็มีให้ครับ แต่ต้องทำความเข้าใจกับ concept ของ file ใน windows ด้วยครับ

    (เก่ง Assembly จะได้เปรียบมากๆ)

    ถ้าผมผิดพลาดอย่างไรก็ขออภัยครับ เขียนตามความเข้าใจของตัวเอง

Similar Threads

  1. เทคนิคป้องกันการโดนคัดเน็ต อย่างง่าย
    By NaNaGosZy in forum ทิปหรือเคล็ดลับการคอมพิวเตอร์ต่างๆ
    Replies: 2
    Last Post: 26-11-2009, 11:21 PM
  2. วิธีเข้าเวปที่โดน block อย่างง่าย
    By ME4AN in forum ทิปหรือเคล็ดลับการคอมพิวเตอร์ต่างๆ
    Replies: 0
    Last Post: 06-09-2009, 02:33 AM
  3. Replies: 0
    Last Post: 10-11-2004, 09:08 PM
  4. Replies: 0
    Last Post: 07-08-2004, 05:01 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •