echo "$line" | grep -o -P '(?<=domains/).*(?=/public_html)'
برچسب : نویسنده : emohsendavaric بازدید : 182
https://gist.github.com/VirtuBox/3d6a53df84b49ad0d01545984e380c80
https://gist.github.com/VirtuBox/5fedc39c30813f5373aa8ae9328a0ec3
برچسب : نویسنده : emohsendavaric بازدید : 185
برچسب : نویسنده : emohsendavaric بازدید : 175
برچسب : نویسنده : emohsendavaric بازدید : 172
بهترین دستور برای دیدن محتویاتی هست که به آدرسی POST شده است
tshark -i eno16777728 -R 'tcp.port==80 && (http.request.method=="POST" && http.host == "www.mrchagh.com" )' -Tfields -e ip.src -e data -e text
sudo tshark -i eno16777728 -T fields -E separator="|" -t e -R "tcp.port == 80 and http.request" -R "http.request.method == "POST"" -e frame.time -e ip.src -e tcp.srcport -e ip.dst -e tcp.dstport -e http.request.method -e http.request.full_uri -e data -e text
برچسب : نویسنده : emohsendavaric بازدید : 162
lsof -i tcp:80 | grep LISTEN | awk '{print $2}' | xargs kill
برچسب : نویسنده : emohsendavaric بازدید : 166
yum install https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-1.1.9-linux-el7-x86-64bit.rpm
www.mohsendavari.ir/files/tools/mysql-connector-c++-1.1.9-linux-el7-x86-64bit.rpm
برچسب : نویسنده : emohsendavaric بازدید : 166
تبدیل سریع char به hex
std::stringstream ss;
ss << std::hex << (int)m_network_buffer[0];
std::cout << ss.str()<< std::endl;
برچسب : نویسنده : emohsendavaric بازدید : 185
nano /usr/lib/firewalld/services/http.xml
برچسب : فایروال, نویسنده : emohsendavaric بازدید : 174
yum install valgrind
valgrind ./ssss
برچسب : نویسنده : emohsendavaric بازدید : 165