Search:

Type: Posts; User: yagmai

Search: Search took 0.01 seconds.

  1. Thread: fgets linux

    by yagmai
    Replies
    7
    Views
    4,123

    char shellcode[]=...

    char shellcode[]=
    "\xeb\x17\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b\x89\xf3\x8d"
    "\x4e\x08\x31\xd2\xcd\x80\xe8\xe4\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68\x58";

    how come the...
  2. Thread: fgets linux

    by yagmai
    Replies
    7
    Views
    4,123

    I need the memory value to appear as 0x08048760 ...

    I need the memory value to appear as 0x08048760

    however if I just type 08048760, the memory will show 30 38 30 34 ..... (0 8 0 4 8 ....) instead
  3. Thread: fgets linux

    by yagmai
    Replies
    7
    Views
    4,123

    fgets linux

    Dear all,

    I'm trying to use fgets to read in Hex value for eg: 34120A

    I enter this as an input, "\x34\x12\x0a"

    However I keep getting 5C 78 33 34 in the memory which are the char of \x34...
  4. Thread: u_char

    by yagmai
    Replies
    3
    Views
    1,670

    for eg: u_char is unsigned char u_char one =...

    for eg:
    u_char is unsigned char

    u_char one = 0xA1;
    u_char two = 0xEF;
    u_char three = 0x34;

    then list should be A1EF34

    and the list can continue to expand
  5. Thread: u_char

    by yagmai
    Replies
    3
    Views
    1,670

    u_char

    Dear all,

    if I have

    u_char one;
    u_char two;
    u_char list;

    how can I append one and two to list?
  6. Replies
    5
    Views
    2,528

    Improve Performance of String comparison

    Hi all,

    I am doing compression using Huffman .

    I have a string of length around 1500000. The string consists of 1s and 0s only.

    I have a linked list consisting of Huffman code table of a...
  7. Replies
    2
    Views
    6,994

    convert string of binary to Char

    Dear experts,

    May I ask how can I convert a string of binary eg "01100000" into a character type which is a?

    Thank you in advance
Results 1 to 7 of 7