diff options
author | David Timber <mieabby@gmail.com> | 2021-07-12 16:16:22 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-07-12 16:16:22 +1000 |
commit | 15bde4c46b707f7a95c7ea6650a3f02d67e50530 (patch) | |
tree | 1aa069521941a41171302dba837d57d35a2d9e41 /src/proone-recon.c | |
parent | 3fbf08ab6522c91e8209b21d66430a2db4ea71cb (diff) |
Impl proone-htbtclient, bugfix, --enable-mttools
* Remove --enable-hostinfod and add --enable-mttools, which enables
hostinfod and htbtclient
* Change PRNE_HTBT_PROTO_PORT so that the macro can be used in another
macro expression(for help message)
* Add prne_mbedtls_perror()
* proone-htbtclient: implement hostinfo command
* proone-htbthost
* Add --hostcred option
* Response with status frame on ENOMEM
* htbt: add prne_htbt_serrc_tostr() and prne_htbt_gen_msgid()
* Add prne_ctoupper(), prne_ctolower(), prne_cisspace(), prne_cisprint()
* The added functions are the locale-independent equivalent of their
POSIX counterparts
* Remove Use of the POSIX functions
* Add test unit
Diffstat (limited to 'src/proone-recon.c')
-rw-r--r-- | src/proone-recon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proone-recon.c b/src/proone-recon.c index 408d68c..43fe8d5 100644 --- a/src/proone-recon.c +++ b/src/proone-recon.c @@ -82,8 +82,8 @@ static int do_parse_conf (FILE *file, prne_recon_param_t *param) { ent_spec = line[1] + rm[2].rm_so; ent_addr = line[1] + rm[4].rm_so; ent_cidr = line[1] + rm[5].rm_so; - prne_transstr(ent_spec, toupper); - prne_transstr(ent_addr, tolower); + prne_transcstr(ent_spec, prne_ctoupper); + prne_transcstr(ent_addr, prne_ctolower); if (inet_pton(AF_INET6, ent_addr, net.addr.addr)) { net.addr.ver = PRNE_IPV_6; |