Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am a newbie to Linux.I am trying to install Pacgen. Steps for installing pacgen are as follows: 1. Make sure you have Libnet installed, pacgen was written with ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    how to install pacgen

    Hi,
    I am a newbie to Linux.I am trying to install Pacgen. Steps for installing pacgen are as follows:
    1. Make sure you have Libnet installed, pacgen was written with 1.1.2.1
    installed.

    2. Read the README file

    3. Compile via the libnet-config script (at least this is how I did it):

    gcc `libnet-config --cflags --defines` pacgen.c -o pacgen \
    `libnet-config --libs`

    4. Or for the lazy run the install.sh script

    I have installed Libnet 1.1.2.1
    when I compile via libnet-configure,I get the prompt '>' .I do not know how to proceed furthur
    I would be happy to receive any information or instructions on installing pacgen

  2. #2
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    how to install pacgen

    But when I type the command ,I get the following error
    [sabagour03@sabanyupoly pacgen-1.10]$ gcc `libnet-config --cflags --defines` pacgen.c -o pacgen `libnet-config --libs`
    bash: libnet-config: command not found
    bash: libnet-config: command not found
    /tmp/ccRE2XbO.o: In function `main':
    pacgen.ctext+0x24): undefined reference to `libnet_init'
    pacgen.c.text+0x214): undefined reference to `libnet_build_tcp'
    pacgen.c.text+0x239): undefined reference to `libnet_geterror'
    pacgen.c.text+0x2c9): undefined reference to `libnet_build_udp'
    pacgen.c.text+0x2ee): undefined reference to `libnet_geterror'
    pacgen.c.text+0x3d0): undefined reference to `libnet_build_ipv4'
    pacgen.c.text+0x3ec): undefined reference to `libnet_geterror'
    pacgen.c.text+0x450): undefined reference to `libnet_build_ethernet'
    pacgen.c.text+0x46c): undefined reference to `libnet_geterror'
    pacgen.c.text+0x4fc): undefined reference to `libnet_write'
    pacgen.ctext+0x59c): undefined reference to `libnet_destroy'
    pacgen.c.text+0x5a9): undefined reference to `libnet_destroy'
    /tmp/ccRE2XbO.o: In function `load_ip':
    pacgen.ctext+0xf49): undefined reference to `libnet_name2addr4'
    pacgen.c.text+0xf6d): undefined reference to `libnet_name2addr4'
    collect2: ld returned 1 exit status

    I would be happy to receive any information or instructions on installing pacgen.Please can you suggest packet injection tools that have programmable time intervals between packets.

    Regards to all

Posting Permissions

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