Results 1 to 3 of 3

Thread: Function hashing in shellcodes

  1. #1
    Senior Member
    Join Date
    Jan 2008
    Location
    Some where on the earth.
    Posts
    106


    -"- นั่งงงอยู่นานมากว่า ค่า hash มันหามาจากไหน ก็เลยไปคุ้ยๆมา จนเจอกับ

    [hide=20]
    http://nepenthes.mwcollect.org/cnsi:functi...g_in_shellcodes

    ส่วนอันนี้เป็น code ใน web นั่นแหละครับ เอามาแปลงเล็กน้อยเพื่อความสะดวกในการใช้งาน
    [code]
    #include <iostream>
    #include <stdlib.h>

    using namespace std;

    unsigned int hash_by(const void *key, unsigned int num)
    {
    <div align="center">"Hacking isn’t about helping the security industry, which leeches from Hackers."</div>

    <div align="center">http://img397.imageshack.us/img397/159/cwhbannerzl0.gif</div>

  2. #2


    จากข้างบน ดูแล้วอาจจะไม่เคลียร์กัน มาดูตัวอย่างการใช้ดีกว่า

    **Hidden Content: To see this hidden content your post count must be 25 or greater.**

  3. #3


    คราวนี้มาคำนวณดูว่าแบบธรรมดา กับ แบบ hash แบบไหนมี size เท่าไรกันบ้าง

    [hide=25]
    [code]// by LoadLibraryA -> GetProcAddress -> api_function_address [api_function_address = eax]

    // LoadLibraryA [size = 0Bh byte]
    0100879F

Similar Threads

  1. Multiple Cisco IOS Shellcodes
    By newsbot in forum Exploits
    Replies: 0
    Last Post: 17-08-2008, 09:50 PM
  2. Replies: 1
    Last Post: 24-03-2008, 06:04 PM
  3. php manual all function of php
    By popvip in forum PHP,ASP,Javascript, Html
    Replies: 0
    Last Post: 28-02-2008, 03:28 AM
  4. metasploit shellcodes parser/converter
    By snapter in forum Security Tools
    Replies: 0
    Last Post: 26-02-2008, 01:42 AM
  5. Perl Function
    By windows98SE in forum Perl
    Replies: 0
    Last Post: 01-01-1970, 07:00 AM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

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