From a421185a732d614c658ca58a1acbde9bd21513c5 Mon Sep 17 00:00:00 2001 From: Nikita Yadav Date: Fri, 5 Mar 2021 12:04:08 +0530 Subject: [PATCH] add_l4_endp flag file --- py-json/LANforge/add_l4_endp.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 py-json/LANforge/add_l4_endp.py diff --git a/py-json/LANforge/add_l4_endp.py b/py-json/LANforge/add_l4_endp.py new file mode 100644 index 00000000..cd63f8c6 --- /dev/null +++ b/py-json/LANforge/add_l4_endp.py @@ -0,0 +1,21 @@ +# Flags for the add_l4_endp command +HTTP_auth_flags = { + "BASIC" : 0x1, # Basic authentication + "DIGEST" : 0x2, # Digest (MD5) authentication + "GSSNEGOTIATE" : 0x4, # GSS authentication + "NTLM" : 0x8, # NTLM authentication +} +proxy_auth_type_flags = { + "BASIC" : 0x1, # 1 Basic authentication + "DIGEST" : 0x2, # 2 Digest (MD5) authentication + "GSSNEGOTIATE" : 0x4, # 4 GSS authentication + "NTLM" : 0x8, # 8 NTLM authentication + "USE_PROXY_CACHE" : 0x20, # 32 Use proxy cache + "USE_GZIP_COMPRESSION" : 0x40, # 64 Use gzip compression + "USE_DEFLATE_COMPRESSION" : 0x80, # 128 Use deflate compression + "INCLUDE_HEADERS" : 0x100, # 256 especially for IMAP + "BIND_DNS" : 0x200, # 512 Make DNS requests go out endpoints Port. + "USE_IPV6" : 0x400, # 1024 Resolve URL is IPv6. Will use IPv4 if not selected. + "DISABLE_PASV" : 0x800, # 2048 Disable FTP PASV option (will use PORT command) + "DISABLE_EPSV" : 0x1000, # 4096 Disable FTP EPSV option +} \ No newline at end of file