Skip to content

Commit

Permalink
Bugs Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehrdaddev committed Mar 25, 2018
1 parent 4616fcb commit b197830
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Doser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ std::string Doser::craft_packet(bool keep_alive){
}
packet += " \r\nCache-Control: " + caching[0]
+ " \r\nAccept-Encoding: " + encoding[0]
+ " \r\nAccept-Charset: " + charset[0] + "," + charset[1]
+ " \r\nAccept-Charset: " + charset[0] + ", " + charset[1]
+ " \r\nAccept: */*\r\nConnection: Keep-Alive"
+ " \r\nContent-Type: " + contenttype[0]
+ " \r\nCookie: " + createStr() + "=" + createStr();
+ " \r\nCookie: " + createStr() + "=" + createStr()
+ " \r\nKeep-Alive: " + std::to_string(randomInt(1, 5000))
+ "\r\n\r\n";
return packet;
Expand All @@ -310,7 +310,7 @@ std::string Doser::craft_packet(bool keep_alive){
}
packet += " \r\nCache-Control: " + caching[0]
+ " \r\nAccept-Encoding: " + encoding[0]
+ " \r\nAccept-Charset: " + charset[0] + "," + charset[1]
+ " \r\nAccept-Charset: " + charset[0] + ", " + charset[1]
+ " \r\nContent-Type: " + contenttype[0]
+ " \r\nCookie: " + createStr() + "=" + createStr()
+ " \r\nAccept: */*\r\n"
Expand Down
4 changes: 2 additions & 2 deletions Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void Parser::help() {
" -ft set attack vector to TCPFlood\n"
" -fu set attack vector to UDPFlood\n"
" -s set attack vector to Slowloris\n"
" -ss enable ssl\n"
" -ss enable SSL\n"
" -w wait for hosts response\n"
" -rh randomize HTTP Header\n"
" -ru randomize HTTP UserAgent\n"
Expand All @@ -26,7 +26,7 @@ void Parser::help() {
}

void Parser::show_banner() {
const std::string version{"v0.0.3"};
const std::string version{"v0.0.4"};
std::cout << "Xerxes - Revised " << version << std::endl;
}

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Options:\
&emsp;&emsp;&emsp;&emsp;&emsp;-ft&emsp;&emsp;&emsp;&emsp;&emsp;set attack vector to TCPFlood\
&emsp;&emsp;&emsp;&emsp;&emsp;-fu&emsp;&emsp;&emsp;&emsp;&emsp;set attack vector to UDPFlood\
&emsp;&emsp;&emsp;&emsp;&emsp;-s&nbsp;&emsp;&emsp;&emsp;&emsp;&emsp;set attack vector to Slowloris\
&emsp;&emsp;&emsp;&emsp;&emsp;-ss&emsp;&emsp;&emsp;&emsp;&emsp;enable SSL\
&emsp;&emsp;&emsp;&emsp;&emsp;-w&nbsp;&emsp;&emsp;&emsp;&emsp;&emsp;wait for hosts response\
&emsp;&emsp;&emsp;&emsp;&emsp;-rh&emsp;&emsp;&emsp;&emsp;&emsp;randomize HTTP Header\
&emsp;&emsp;&emsp;&emsp;&emsp;-ru&emsp;&emsp;&emsp;&emsp;&emsp;randomize HTTP UserAgent\
Expand All @@ -25,8 +26,7 @@ Options:\
## Todo
<ul>
<li>Add spoofed ICMP packets support</li>
<li>Add more randomization to http header</li>
<li>Add https support</li>
<li>Add Smurf Attack vector</li>
<li>Add more attack vectors</li>
</ul>

Expand Down

0 comments on commit b197830

Please sign in to comment.