aboutsummaryrefslogtreecommitdiff
path: root/src/recon.c
AgeCommit message (Collapse)Author
2021-08-31MIT LicenseDavid Timber
2021-08-17Impl full IPv6 support ...David Timber
* Use different strategy for discovering IPv6 hosts on the network * Multicast IPv6 packet with bogus destination options to get ICMPv6 responses(type 4, code 2) * Send SYN packets to the hosts responds to the packet to confirm that they have target ports open * Add full scope_id support * Fix potential infinite loop when receiving raw packets
2021-08-12Recon: use ICMPv6 echo instead of random SYN ...David Timber
* proone-htbtclient: mlock() tls password * Recon * Send ICMPv6 echo requests to discover IPv6 hosts in the link-local network * Check OS code as the implementation is heavily os-dependent * Fix wrong II_UPDATE values * Fix sending wrong number of SYN packets
2021-08-09Protocol and build system change ...David Timber
* Use autoheader * Add --enable-minmem * Add OS code. Bin archive and protocol changed accordingly * Add instance flags in hostinfo frame. Bitfield util added for this * Add org_id in hostinfo for lineage record * SQL schema change: store integer value of hostinfo arch and os * Remove config.c * prne_index_nybin() now sets errno * Instance ids are now preserved for lineage record * Proone: remove arguments after init * Fix bug in prne_htbt_ser_bin_meta(): alloc_len is not checked
2020-09-27* Disable armv7, aarch64, x86_64 targetDavid Timber
* Apply recon and bne to proone * Add callback contexts on htbt and bne * Fix mem leak in bne_sh_cleanup_upload() * Use prne_static_assert() instead of _Static_assert() * Use prne_free_worker() rather than calling free_ctx() * Add prne_eq_ipaddr() * bne * Add prne_bne_result::ny_instance to impl infect_cnt * Don't delete tmp upload dir after successful bne_sh_run_exec() so that proone can make tmp files * Silently ignore PRNE_BNE_V_HTBT if htbt_ssl_conf is not set * Add prne_bne_get_subject() * htbt * Fix crash bug when running without resolv * proone: set pth priority
2020-09-17* Change value types of containers to uintptr_tDavid Timber
* htbt: fix leak in `htbt_main_q_hover()` * proone-recon: fix parse bug
2020-09-15* Code consistency - take *_param_t as pointerDavid Timber
* Fix *_param_t leak and memory error
2020-09-14* Remove <linux/ip*.h> includesDavid Timber
2020-09-14* recon: determine source addressDavid Timber
2020-09-14* Add "--enable-static" configure optionDavid Timber
* Change "PRNE_DEBUG" macro use * Add "PRNE_VERBOSE" * Impl "recon" * Add "inet.h" for Internet Protocol stuff * Changes regarding "PRNE_RND_WELL512_SEEDLEN" * Add prne_own_realloc() for objects with multiple array memebers * Add prne_add_timespec()