Search:

Type: Posts; User: b0nd

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    14,057

    Program 1 - The Exit call

    Purpose To exit the program “cleanly” and pass the exit code to the Linux kernel
    Input Nothing
    Program Flow

    • Call the “exit()” function and exit out of program
    • Check the return code at...
  2. Replies
    10
    Views
    14,057

    Essential GDB basics to analyze the code – Essential for debugging

    Learn your debugger well to debug the code efficiently. This section comprises of some tricks/commands/short-cuts to use GDB efficiently. To cut it short, it’s a cheat sheet for GDB

    1. If...
  3. Replies
    10
    Views
    14,057

    Assembly for Hackers - Structure of Assembly Language Program

    .section .data

    Under this section you initialize your data. The initialized data will consume memory and would contribute in the size of executable file. The space is reserved during compile time...
  4. Replies
    10
    Views
    14,057

    Assembly for Hackers - Data Accessing Modes

    Few examples

    Being said the above terminology; let us play moving some values in and out of memory/registers for practice.

    Instead of taking examples one-by-one at this stage, let us pen down...
  5. Replies
    10
    Views
    14,057

    Assembly for Hackers - Data Accessing Modes

    Data Accessing Modes

    Data accessing modes or methods are different ways a processor can adopt to access data. This section will deal with how those addressing modes are represented in assembly...
  6. Replies
    10
    Views
    14,057

    Assembly for Hackers - Basics

    6. Moving Strings from one memory location to another (MOVSx series)

    movsb --> move a byte (8 bits)
    movsw --> move a word (16 bits)
    movsl --> move a double word (32 bits)

    Source --> ESI...
  7. Replies
    10
    Views
    14,057

    Assembly for Hackers - Basics

    Development Platform: Linux
    Assembler: GAS (The GNU Assembler)
    Linker: ld
    Compiler: GCC
    Debugger: GDB
    Operation on 32-bit registers on Intel architecture

    Some one-liners to refresh your...
  8. Replies
    10
    Views
    14,057

    Assembly for Hackers

    Dear All,

    Following is an attempt to provide some supplements to those who are new to assembly language programming and finding it hard to start the venture of shell coding and/or exploitation...
Results 1 to 8 of 8