Skip to content
Snippets Groups Projects
Commit 2d98c53f authored by Robert Graham's avatar Robert Graham
Browse files

Windows fixes

parent 5f648712
No related branches found
No related tags found
No related merge requests found
......@@ -1059,10 +1059,11 @@ main_scan(struct Masscan *masscan)
*/
if (masscan->script.name) {
unsigned i;
unsigned is_error;
script = script_lookup(masscan->script.name);
/* If no ports specified on command-line, grab default ports */
unsigned is_error = 0;
is_error = 0;
if (rangelist_count(&masscan->ports) == 0)
rangelist_parse_ports(&masscan->ports, script->ports, &is_error);
......
......@@ -720,7 +720,7 @@ tcpcon_send_packet(
if (ctrl & CTRL_SMALL_WINDOW) {
tcp_set_window(response->px, response->length, 600);
}
tcp_set_window(response->px, response->length, 600);
//tcp_set_window(response->px, response->length, 600);
/* If we have payload, then:
* 1. remember the payload so we can resend it
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment