Skip to content

zhangfangchao/url_recoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

url_recoder

把HTTP请求的URL全部记录下来,我是在vps上用的~~ 日志记录在 “/var/log/url_record.txt”

程序守护进程方式运行在后台


Debian/Ubuntu: apt-get install libpcap-dev -y
CentOS:yum install libpcap-devel -y

然后
gcc url_recoder.c -lpcap -o url_recoder 

命令行参数是网卡名字,我这里是eth0,需要root权限
./url_recoder eth0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%