Nmap Development mailing list archives

Adding HTTP proxy authentication to nsock and avoiding code duplication


From: Jacek Wielemborek <d33tah () gmail com>
Date: Mon, 10 Aug 2015 03:39:45 +0200

Hello,

Andrew is currently working on moving Ncat's HTTP proxy authentication
code to Nsock in order to add support authenticated proxychains for
programs using the Nsock interface. The thing is that it cannot just be
cut from Ncat and pasted into Nsock because Ncat would still need the
code for parsing the requests in listen mode. This means that there's
the risk of duplicating the parsing routines; the alternative I can
think of is to move the functions to Nbase. What do you think about that
option? Is there any better way to do this? Is code duplication even a
real problem there?

Cheers,
d33tah

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: