zoukankan      html  css  js  c++  java
  • tcpcopy

    https://www.cnblogs.com/phennry/p/6382755.html?utm_source=itdadao&utm_medium=referral
    
    tcpdump -i eth0 src 172.16.0.86 and '(tcp and src port 8188 or src port 8189)' -nn -V -xxx
    tcpdump -i eth0 src 172.16.0.54 and tcp and dst port 8188 or dst port 8189 -nn
    
     /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d            
     # -s tcp辅机(asistant) -c 修改IP为172.16.0.54 
     
     
     
    /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d
    /usr/local/tcpcopy/sbin/tcpcopy -x 8188-172.16.0.86:8188 -s 172.16.0.86 -c 172.16.0.54 -d
    
     
     tcpdump -i eth0 src 172.16.0.54 and '(tcp and dst port 8188 or dst port 8189)' -nn
     
     
     
     
     
     tcpdump -i eth0 port 6379 -n -s 512
     
     
     
    tcpcopy:
    wget https://github.com/session-replay-tools/tcpcopy/archive/v1.2.0.tar.gz
    ./configure
    make install
    
    /usr/local/tcpcopy/sbin/tcpcopy -x 8189-172.16.0.86:8189 -s 172.16.0.86 -c 172.16.0.54 -d
    /usr/local/tcpcopy/sbin/tcpcopy -x 8188-172.16.0.86:8188 -s 172.16.0.86 -c 172.16.0.54 -d
    
    iptables -A INPUT -s 172.16.0.86 -p tcp --sport 8188 -j DROP
    iptables -A INPUT -s 172.16.0.86 -p tcp --sport 8189 -j DROP
    
    
    
    wget https://github.com/session-replay-tools/intercept/archive/1.0.0.tar.gz
     ./configure
    yum -y install libpcap libpcap-deve
    ./configure
    make install
    /usr/local/intercept/sbin/intercept -i eth0 -F 'tcp and (src port 8188 or src port 8189)' -d
  • 相关阅读:
    android最恶心的是什么?
    有谁熟悉WordPress不?
    迷茫了....
    这事儿SB了....
    软件可靠性测
    养生之道
    我学员的一个问题及其我对之的解答,关于lr返回值问题
    如何自动启动小键盘
    测试工程师工作流程概论
    异构数据库之间的导入导出[转载]
  • 原文地址:https://www.cnblogs.com/yum777/p/10076061.html
Copyright © 2011-2022 走看看