Skip to content

This python script is used to extract all file paths from the Strace result. For this, we have to save the result of Strace in a file. Then we have to put the file name with the full pathname in a file variable at the start of the script.

License

Notifications You must be signed in to change notification settings

mismailzz/Extract-filenames-from-Strace-result

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Extract-filenames-from-Strace-result

This python script is used to extract all file paths from the Strace result. For this, we have to save the result of Strace in a file. Then we have to put the file name with the full pathname in a "filepath" variable at the start of the script.

For Example:

root@cybermizz:~# strace anycommand 2> output.txt

Now put the filename like "output.txt" with its full pathname in "filepath" variable at the start of the python script.

root@cybermizz:~# python getLogFilePath.py

About

This python script is used to extract all file paths from the Strace result. For this, we have to save the result of Strace in a file. Then we have to put the file name with the full pathname in a file variable at the start of the script.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages