Skip to content

yuanLink/PwnWAF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

PwnWAF

pwn log tools for AWD

Description

Use traceGen.py to generate elf file.

  • elf_name: which elf we want to log file
  • log_path: log file
  • machine: the platform of this elf, (only surpport x86/x86_64)

NOTICE: elf_name and log_path must be absolutely path

Usage:

python traceGen.py  machine elf_name log_path

For example:

python traceGen.py 64 /path/to/elf/test.bin /path/to/log/log.txt

and the elf_name.out is log bin file.Then rename this file(or others) to make xinetd boot this file. This file will start a child process to exec elf_name file, and parent process will record info:

+-----+
|child| --> execute /path/to/elf/test.bin
+-----+

+------+
|parent| --> log I/O to /path/to/log/log.txt
+------+

and log.txt will like this:

WRIGING
Welcome to my pwn world!

READING
aaaaaaaaaaaaaaa

WRIGING
your input is :aaaaaaaaaaaaaaa

About

pwn log tools for AWD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published