Loading src/main-conf.c +8 Changes for src/main-conf.c: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -299,6 +299,8 @@ masscan_echo(struct Masscan *masscan, FILE *fp) fprintf(fp, "rate = %10.2f\n", masscan->max_rate); fprintf(fp, "randomize-hosts = true\n"); fprintf(fp, "seed = %" PRIu64 "\n", masscan->seed); if (masscan->shard.one != 1 && masscan->shard.of != 1) fprintf(fp, "shard = %u/%u\n", masscan->shard.one, masscan->shard.of); if (masscan->is_banners) fprintf(fp, "banners = true\n"); Loading Loading @@ -986,6 +988,8 @@ config_top_ports(struct Masscan *masscan, unsigned n) } } /*************************************************************************** ***************************************************************************/ int isInteger(const char *value) { Loading @@ -1000,6 +1004,10 @@ isInteger(const char *value) return 1; } /*************************************************************************** ***************************************************************************/ /*************************************************************************** * Called either from the "command-line" parser when it sees a --parm, * or from the "config-file" parser for normal options. Loading Loading
src/main-conf.c +8 Changes for src/main-conf.c: 8 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -299,6 +299,8 @@ masscan_echo(struct Masscan *masscan, FILE *fp) fprintf(fp, "rate = %10.2f\n", masscan->max_rate); fprintf(fp, "randomize-hosts = true\n"); fprintf(fp, "seed = %" PRIu64 "\n", masscan->seed); if (masscan->shard.one != 1 && masscan->shard.of != 1) fprintf(fp, "shard = %u/%u\n", masscan->shard.one, masscan->shard.of); if (masscan->is_banners) fprintf(fp, "banners = true\n"); Loading Loading @@ -986,6 +988,8 @@ config_top_ports(struct Masscan *masscan, unsigned n) } } /*************************************************************************** ***************************************************************************/ int isInteger(const char *value) { Loading @@ -1000,6 +1004,10 @@ isInteger(const char *value) return 1; } /*************************************************************************** ***************************************************************************/ /*************************************************************************** * Called either from the "command-line" parser when it sees a --parm, * or from the "config-file" parser for normal options. Loading