diff --git a/Makefile.in b/Makefile.in index 3a62a6231..250e7ae69 100644 --- a/Makefile.in +++ b/Makefile.in @@ -880,7 +880,7 @@ all-plugins all-plugins-install all-plugins-userinstall all-plugins-clean: all-% # Disabled # kaitai-parsers: # @echo "Re-generating the kaitai_struct parsers requires the gpl3 licensed " -# @echo "kaitai_struct compiler; see http://http://kaitai.io/ for more info!" +# @echo "kaitai_struct compiler; see https://kaitai.io/ for more info!" # kaitai-struct-compiler --outdir kaitai_parsers/ -t cpp_stl -I kaitai_definitions/ kaitai_definitions/*.ksy # file-rename -v -f 's/\.cpp$$/\.cc/' kaitai_parsers/*.cpp diff --git a/README.OLD b/README.OLD index cc15ff828..15b15fade 100644 --- a/README.OLD +++ b/README.OLD @@ -35,7 +35,7 @@ Developer documentation for the new API is in the docs/dev/ directory! Kismet 2016-01-R1 Mike Kershaw -http://www.kismetwireless.net +https://www.kismetwireless.net 1. What is Kismet 2. Upgrading from earlier versions @@ -109,7 +109,7 @@ http://www.kismetwireless.net PLEASE read the full manual, but for the impatient, here is the BARE MINIMUM needed to get Kismet working: - * Download Kismet from http://www.kismetwireless.net/download.shtml + * Download Kismet from https://www.kismetwireless.net/download.shtml * Run "./configure". Pay attention to the output! If Kismet cannot find all the headers and libraries it needs, major functionality may be missing. Most notably, compiling Kismet yourself will require @@ -151,7 +151,7 @@ http://www.kismetwireless.net Using the CACE Package: * Download the Win32/Cygwin installer created by CACE and linked from - the download page (http://www.kismetwireless.net/download.shtml + the download page (https://www.kismetwireless.net/download.shtml * Run the installer * Start Kismet * Pick your AirPcap or Kismet Drone sources @@ -160,7 +160,7 @@ http://www.kismetwireless.net Compiling it yourself: - * Download the Cygwin setup tool (http://www.cygwin.org) + * Download the Cygwin setup tool (https://www.cygwin.org) * Install Cygwin with make, GCC, libncurses, libncurses-dev * Download the Airpcap_Devpack from CACE Support * Put Airpcap_Devpack and Libpcap_Devpack in the kismet source directory @@ -186,7 +186,7 @@ http://www.kismetwireless.net key events. However, Terminal.app appears to work fine, and is recommended for using Kismet. - * Download Kismet from http://www.kismetwireless.net/download.shtml + * Download Kismet from https://www.kismetwireless.net/download.shtml * Run "./configure". Pay attention to the output! If Kismet cannot find all the headers and libraries it needs, major functionality may be missing. Notably, you may need to install libpcap manually. @@ -640,7 +640,7 @@ http://www.kismetwireless.net rt2870sta Out-of-kernel/Staging rt2870 11n driver (use in-kernel instead) wl12xx Patched wl12xx drivers for the N900, must use - patched drivers from http://david.gnedt.eu/blog/, + patched drivers from https://david.gnedt.eu/blog/, otherwise autodetected. drone Remote Kismet packet capture, source options "host=..." and "port=..." are required. @@ -1013,8 +1013,8 @@ http://www.kismetwireless.net References: WVE-2005-0019, WVE-2005-0045, WVE-2005-0046, WVE-2005-0061 - http://802.11ninja.net - http://home.jwu.edu/jwright/papers/l2-wlan-ids.pdf + https://802.11ninja.net + https://home.jwu.edu/jwright/papers/l2-wlan-ids.pdf DHCPCLIENTID Fingerprint 802.11 A client which sends a DHCP DISCOVER packet containing a @@ -1115,7 +1115,7 @@ http://www.kismetwireless.net in his tool and the Reaver attack tool. References: - http://sviehb.files.wordpress.com/2011/12/viehboeck_wps.pdf + https://sviehb.files.wordpress.com/2011/12/viehboeck_wps.pdf 13. Other Configuration @@ -1213,7 +1213,7 @@ http://www.kismetwireless.net The default Kismet UI uses the text-based ncurses library. Additional UIs may be available from the Links page on the Kismet website - (http://www.kismetwireless.net/links.shtml) + (https://www.kismetwireless.net/links.shtml) The Kismet UI functions much as any other curses application (such as Midnight Commander or Links) does. The menu is activated with 'escape', diff --git a/apple80211.h b/apple80211.h index 1f83d11ec..5a71593ae 100644 --- a/apple80211.h +++ b/apple80211.h @@ -284,7 +284,7 @@ extern WIErr WirelessJoin( * - It can also be the empty string, meaning no encryption. * * For more info see: - * http://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/11/wa/query?searchMode=Expert&type=id&val=KC.106424 + * https://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/11/wa/query?searchMode=Expert&type=id&val=KC.106424 */ extern WIErr WirelessJoinWEP( WirelessContextPtr inContext, @@ -358,7 +358,7 @@ extern WIErr WirelessGetBestChannel( * - It can also be the empty string, meaning no encryption. * * For more info see: - * http://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/11/wa/query?searchMode=Expert&type=id&val=KC.106424 + * https://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/11/wa/query?searchMode=Expert&type=id&val=KC.106424 */ extern WIErr WirelessMakeIBSS( WirelessContextPtr inContex, diff --git a/capture_linux_wifi/nl80211.h b/capture_linux_wifi/nl80211.h index 56368e9b4..8d1c3585f 100644 --- a/capture_linux_wifi/nl80211.h +++ b/capture_linux_wifi/nl80211.h @@ -630,7 +630,7 @@ * various triggers. These triggers can be configured through this * command with the %NL80211_ATTR_WOWLAN_TRIGGERS attribute. For * more background information, see - * http://wireless.kernel.org/en/users/Documentation/WoWLAN. + * https://wireless.wiki.kernel.org/en/users/Documentation/WoWLAN. * The @NL80211_CMD_SET_WOWLAN command can also be used as a notification * from the driver reporting the wakeup reason. In this case, the * @NL80211_ATTR_WOWLAN_TRIGGERS attribute will contain the reason diff --git a/configure b/configure index 86a1c919c..b30c285cd 100755 --- a/configure +++ b/configure @@ -5313,7 +5313,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -6158,7 +6158,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -7017,7 +7017,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -7913,7 +7913,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -8732,7 +8732,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -9565,7 +9565,7 @@ namespace cxx11 } - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae + // https://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function // because of this. namespace test_template_alias_sfinae @@ -13283,7 +13283,7 @@ Alternatively, you may set the environment variables libwebsockets_CFLAGS and libwebsockets_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . +To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else libwebsockets_CFLAGS=$pkg_cv_libwebsockets_CFLAGS @@ -13634,7 +13634,7 @@ Alternatively, you may set the environment variables protobuf_CFLAGS and protobuf_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . +To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else protobuf_CFLAGS=$pkg_cv_protobuf_CFLAGS @@ -14768,7 +14768,7 @@ Alternatively, you may set the environment variables libusb_CFLAGS and libusb_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . +To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else libusb_CFLAGS=$pkg_cv_libusb_CFLAGS @@ -15158,7 +15158,7 @@ Alternatively, you may set the environment variables librtlsdr_CFLAGS and librtlsdr_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . +To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else librtlsdr_CFLAGS=$pkg_cv_librtlsdr_CFLAGS @@ -15444,7 +15444,7 @@ Alternatively, you may set the environment variables libmosquitto_CFLAGS and libmosquitto_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . +To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else libmosquitto_CFLAGS=$pkg_cv_libmosquitto_CFLAGS diff --git a/crc32.cc b/crc32.cc index e82cb538b..cd8b0c975 100644 --- a/crc32.cc +++ b/crc32.cc @@ -3,7 +3,7 @@ // Copyright (c) 2011-2019 Stephan Brumme. All rights reserved. // Slicing-by-16 contributed by Bulat Ziganshin // Tableless bytewise CRC contributed by Hagai Gold -// see http://create.stephan-brumme.com/disclaimer.html +// see https://create.stephan-brumme.com/disclaimer.html // // if running on an embedded system, you might consider shrinking the @@ -678,8 +678,8 @@ const uint32_t Crc32Lookup[MaxSlice][256] = // Crc32Lookup[0][i] = crc; //} //// ... and the following slicing-by-8 algorithm (from Intel): - //// http://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf - //// http://sourceforge.net/projects/slicing-by-8/ + //// https://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf + //// https://sourceforge.net/projects/slicing-by-8/ //for (int slice = 1; slice < MaxSlice; slice++) // Crc32Lookup[slice][i] = (Crc32Lookup[slice - 1][i] >> 8) ^ Crc32Lookup[0][Crc32Lookup[slice - 1][i] & 0xFF]; { diff --git a/crc32.h b/crc32.h index fe8784066..1030389cd 100644 --- a/crc32.h +++ b/crc32.h @@ -3,7 +3,7 @@ // Copyright (c) 2011-2019 Stephan Brumme. All rights reserved. // Slicing-by-16 contributed by Bulat Ziganshin // Tableless bytewise CRC contributed by Hagai Gold -// see http://create.stephan-brumme.com/disclaimer.html +// see https://create.stephan-brumme.com/disclaimer.html // // if running on an embedded system, you might consider shrinking the diff --git a/http_data/credit.html b/http_data/credit.html index b1107c717..ec37c2ef8 100644 --- a/http_data/credit.html +++ b/http_data/credit.html @@ -8,24 +8,24 @@

JS/Presentation

Graphics

diff --git a/http_data/js/kismet.utils.js b/http_data/js/kismet.utils.js index 4e8c4603f..b2b458d9d 100644 --- a/http_data/js/kismet.utils.js +++ b/http_data/js/kismet.utils.js @@ -31,7 +31,7 @@ exports.putStorage = function(key, data) { exports.storage.set(key, data); } -// From http://stackoverflow.com/a/6491621 +// From https://stackoverflow.com/a/6491621 exports.ObjectByString = function(o, s) { if (typeof(o) === 'undefined') return; diff --git a/moodycamel/concurrentqueue.h b/moodycamel/concurrentqueue.h index 4b2ad791d..0ea06d34c 100644 --- a/moodycamel/concurrentqueue.h +++ b/moodycamel/concurrentqueue.h @@ -1,8 +1,8 @@ // Provides a C++11 implementation of a multi-producer, multi-consumer lock-free queue. // An overview, including benchmark results, is provided here: -// http://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++ +// https://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++ // The full design is also described in excruciating detail at: -// http://moodycamel.com/blog/2014/detailed-design-of-a-lock-free-queue +// https://moodycamel.com/blog/2014/detailed-design-of-a-lock-free-queue // Simplified BSD license: // Copyright (c) 2013-2020, Cameron Desrochers. @@ -101,7 +101,7 @@ extern "C" __declspec(dllimport) unsigned long __stdcall GetCurrentThreadId(void namespace moodycamel { namespace details { static_assert(sizeof(unsigned long) == sizeof(std::uint32_t), "Expected size of unsigned long to be 32 bits on Windows"); typedef std::uint32_t thread_id_t; - static const thread_id_t invalid_thread_id = 0; // See http://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx + static const thread_id_t invalid_thread_id = 0; // See https://blogs.msdn.com/b/oldnewthing/archive/2004/02/23/78395.aspx static const thread_id_t invalid_thread_id2 = 0xFFFFFFFFU; // Not technically guaranteed to be invalid, but is never used in practice. Note that all Win32 thread IDs are presently multiples of 4. static inline thread_id_t thread_id() { return static_cast(::GetCurrentThreadId()); } } } @@ -140,7 +140,7 @@ namespace moodycamel { namespace details { }; } } #else -// Use a nice trick from this answer: http://stackoverflow.com/a/8438730/21475 +// Use a nice trick from this answer: https://stackoverflow.com/a/8438730/21475 // In order to get a numeric thread ID in a platform-independent way, we use a thread-local // static variable's address as a thread identifier :-) #if defined(__GNUC__) || defined(__INTEL_COMPILER) @@ -214,7 +214,7 @@ namespace moodycamel { namespace details { #ifdef MCDBGQ_USE_RELACY #define MOODYCAMEL_CPP11_THREAD_LOCAL_SUPPORTED #else -// VS2013 doesn't support `thread_local`, and MinGW-w64 w/ POSIX threading has a crippling bug: http://sourceforge.net/p/mingw-w64/bugs/445 +// VS2013 doesn't support `thread_local`, and MinGW-w64 w/ POSIX threading has a crippling bug: https://sourceforge.net/p/mingw-w64/bugs/445 // g++ <=4.7 doesn't support thread_local either. // Finally, iOS/ARM doesn't have support for it either, and g++/ARM allows it to compile but it's unconfirmed to actually work #if (!defined(_MSC_VER) || _MSC_VER >= 1900) && (!defined(__MINGW32__) && !defined(__MINGW64__) || !defined(__WINPTHREADS_VERSION)) && (!defined(__GNUC__) || __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) && (!defined(__APPLE__) || !TARGET_OS_IPHONE) && !defined(__arm__) && !defined(_M_ARM) && !defined(__aarch64__) @@ -494,7 +494,7 @@ namespace details { static_assert(std::is_integral::value && !std::numeric_limits::is_signed, "ceil_to_pow_2 is intended to be used only with unsigned integer types"); - // Adapted from http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 + // Adapted from https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 --x; x |= x >> 1; x |= x >> 2; @@ -758,7 +758,7 @@ struct ConsumerToken }; // Need to forward-declare this swap because it's in a namespace. -// See http://stackoverflow.com/questions/4492062/why-does-a-c-friend-class-need-a-forward-declaration-only-in-other-namespaces +// See https://stackoverflow.com/questions/4492062/why-does-a-c-friend-class-need-a-forward-declaration-only-in-other-namespaces template inline void swap(typename ConcurrentQueue::ImplicitProducerKVP& a, typename ConcurrentQueue::ImplicitProducerKVP& b) MOODYCAMEL_NOEXCEPT; @@ -1972,7 +1972,7 @@ class ConcurrentQueue // Note that I believe a compiler (signal) fence here would be sufficient due to the nature of fetch_add (all // read-modify-write operations are guaranteed to work on the latest value in the modification order), but // unfortunately that can't be shown to be correct using only the C++11 standard. - // See http://stackoverflow.com/questions/18223161/what-are-the-c11-memory-ordering-guarantees-in-this-corner-case + // See https://stackoverflow.com/questions/18223161/what-are-the-c11-memory-ordering-guarantees-in-this-corner-case std::atomic_thread_fence(std::memory_order_acquire); // Increment optimistic counter, then check if it went over the boundary @@ -1987,7 +1987,7 @@ class ConcurrentQueue // Note that we reload tail here in case it changed; it will be the same value as before or greater, since // this load is sequenced after (happens after) the earlier load above. This is supported by read-read - // coherency (as defined in the standard), explained here: http://en.cppreference.com/w/cpp/atomic/memory_order + // coherency (as defined in the standard), explained here: https://en.cppreference.com/w/cpp/atomic/memory_order tail = this->tailIndex.load(std::memory_order_acquire); if ((details::likely)(details::circular_less_than(myDequeueCount - overcommit, tail))) { // Guaranteed to be at least one element to dequeue! @@ -3395,7 +3395,7 @@ class ConcurrentQueue // If it's not found, it must not be in there yet, since this same thread would // have added it previously to one of the tables that we traversed. - // Code and algorithm adapted from http://preshing.com/20130605/the-worlds-simplest-lock-free-hash-table + // Code and algorithm adapted from https://preshing.com/20130605/the-worlds-simplest-lock-free-hash-table #ifdef MCDBGQ_NOLOCKFREE_IMPLICITPRODHASH debug::DebugLock lock(implicitProdMutex); diff --git a/moodycamel/lightweightsemaphore.h b/moodycamel/lightweightsemaphore.h index 41ba09438..16d833a38 100644 --- a/moodycamel/lightweightsemaphore.h +++ b/moodycamel/lightweightsemaphore.h @@ -107,7 +107,7 @@ class Semaphore #elif defined(__MACH__) //--------------------------------------------------------- // Semaphore (Apple iOS and OSX) -// Can't use POSIX semaphores due to http://lists.apple.com/archives/darwin-kernel/2009/Apr/msg00010.html +// Can't use POSIX semaphores due to https://lists.apple.com/archives/darwin-kernel/2009/Apr/msg00010.html //--------------------------------------------------------- class Semaphore { @@ -193,7 +193,7 @@ class Semaphore bool wait() { - // http://stackoverflow.com/questions/2013181/gdb-causes-sem-wait-to-fail-with-eintr-error + // https://stackoverflow.com/questions/2013181/gdb-causes-sem-wait-to-fail-with-eintr-error int rc; do { rc = sem_wait(&m_sema); diff --git a/mpack/mpack.h b/mpack/mpack.h index 2c1744f85..44d71a339 100644 --- a/mpack/mpack.h +++ b/mpack/mpack.h @@ -1597,7 +1597,7 @@ MPACK_EXTERN_C_BEGIN // The GCC bswap builtins are apparently poorly optimized on older // versions of GCC, so we set a minimum version here just in case. - // http://hardwarebug.org/2010/01/14/beware-the-builtins/ + // https://hardwarebug.org/2010/01/14/beware-the-builtins/ #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) #define MPACK_NHSWAP64(x) __builtin_bswap64(x) diff --git a/nlohmann/json.hpp b/nlohmann/json.hpp index 4d1a37ad7..9386c43de 100644 --- a/nlohmann/json.hpp +++ b/nlohmann/json.hpp @@ -5040,7 +5040,7 @@ struct from_json_fn #ifndef JSON_HAS_CPP_17 /// namespace to hold default `from_json` function /// to see why this is required: -/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html +/// https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-namespaces) { #endif @@ -5739,7 +5739,7 @@ struct to_json_fn #ifndef JSON_HAS_CPP_17 /// namespace to hold default `to_json` function /// to see why this is required: -/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html +/// https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-namespaces) { #endif @@ -9335,7 +9335,7 @@ class binary_reader /*! @brief Read a BSON document element of the given @a element_type. - @param[in] element_type The BSON element type, c.f. http://bsonspec.org/spec.html + @param[in] element_type The BSON element type, c.f. https://bsonspec.org/spec.html @param[in] element_type_parse_position The position in the input stream, where the `element_type` was read. @warning Not all BSON element types are supported yet. An unsupported @@ -16811,7 +16811,7 @@ conversion. This implementation is a slightly modified version of the reference implementation which may be obtained from -http://florian.loitsch.com/publications (bench.tar.gz). +https://florian.loitsch.com/publications (bench.tar.gz). The code is distributed under the MIT license, Copyright (c) 2009 Florian Loitsch. @@ -18779,7 +18779,7 @@ class serializer @note The function has been edited: a std::array is used. @copyright Copyright (c) 2008-2009 Bjoern Hoehrmann - @sa http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ + @sa https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */ static std::uint8_t decode(std::uint8_t& state, std::uint32_t& codep, const std::uint8_t byte) noexcept { diff --git a/pcapng.h b/pcapng.h index 7b50d49dd..e33a91d1e 100644 --- a/pcapng.h +++ b/pcapng.h @@ -48,7 +48,7 @@ struct pcap_packet_hdr { typedef struct pcap_packet_hdr pcap_packet_hdr_t; /* PCAP-NG basic structs, as defined in: - * http://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc.cgi?url=https://raw.githubusercontent.com/pcapng/pcapng/master/draft-tuexen-opsawg-pcapng.xml&modeAsFormat=html/ascii&type=ascii#section_shb + * https://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc.cgi?url=https://raw.githubusercontent.com/pcapng/pcapng/master/draft-tuexen-opsawg-pcapng.xml&modeAsFormat=html/ascii&type=ascii#section_shb */ /* Generic option block */ diff --git a/phy_adsb.cc b/phy_adsb.cc index e368044d1..7f44b75c5 100644 --- a/phy_adsb.cc +++ b/phy_adsb.cc @@ -1193,7 +1193,7 @@ double kis_adsb_phy::cpr_dlon(double lat, int odd) { void kis_adsb_phy::decode_cpr(const std::shared_ptr& adsb, const std::shared_ptr& packet) { /* This algorithm comes from: - * http://www.lll.lu/~edward/edward/adsb/DecodingADSBposition.html. + * https://www.lll.lu/~edward/edward/adsb/DecodingADSBposition.html. * * * A few remarks: diff --git a/strict_fstream.hpp b/strict_fstream.hpp index 718d5d5e6..a656ee075 100644 --- a/strict_fstream.hpp +++ b/strict_fstream.hpp @@ -30,7 +30,7 @@ namespace strict_fstream { /// Overload of error-reporting function, to enable use with VS. -/// Ref: http://stackoverflow.com/a/901316/717706 +/// Ref: https://stackoverflow.com/a/901316/717706 static std::string strerror() { std::string buff(80, '\0'); diff --git a/tools/create_icao_db.py b/tools/create_icao_db.py index 24f767e16..892212bb9 100755 --- a/tools/create_icao_db.py +++ b/tools/create_icao_db.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# Downloads http://registry.faa.gov/database/ReleasableAircraft.zip and extracts it in ram +# Downloads https://registry.faa.gov/database/ReleasableAircraft.zip and extracts it in ram # to generate the aircraft ICAO database. # # Used during Kismet release tagging to generate the aircraft db @@ -42,7 +42,7 @@ print("Fetching US ICAO database...") # FAA Records Fetch - with requests.get("http://registry.faa.gov/database/ReleasableAircraft.zip", timeout=30, headers=headers) as response, io.BytesIO() as mem_zf: + with requests.get("https://registry.faa.gov/database/ReleasableAircraft.zip", timeout=30, headers=headers) as response, io.BytesIO() as mem_zf: # Copy into an in-memory zipfile mem_zf.write(response.content) diff --git a/tools/create_oui_db.py b/tools/create_oui_db.py index 8ad0c5586..1825a88c3 100755 --- a/tools/create_oui_db.py +++ b/tools/create_oui_db.py @@ -10,7 +10,7 @@ manufs = [] # Original IEEE URI -OUIURI = "http://standards-oui.ieee.org/oui.txt" +OUIURI = "https://standards-oui.ieee.org/oui.txt" if len(sys.argv) < 2: print("Expected output file") diff --git a/unordered_dense.h b/unordered_dense.h index 1ff50f787..31a00530c 100644 --- a/unordered_dense.h +++ b/unordered_dense.h @@ -4,7 +4,7 @@ // Version 4.0.4 // https://github.com/martinus/unordered_dense // -// Licensed under the MIT License . +// Licensed under the MIT License . // SPDX-License-Identifier: MIT // Copyright (c) 2022-2023 Martin Leitner-Ankerl // diff --git a/xxhash.cc b/xxhash.cc index da06ea72b..cc9fa6b1d 100644 --- a/xxhash.cc +++ b/xxhash.cc @@ -2,7 +2,7 @@ * xxHash - Fast Hash algorithm * Copyright (C) 2012-2016, Yann Collet * -* BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) +* BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -28,7 +28,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * You can contact the author at : -* - xxHash homepage: http://www.xxhash.com +* - xxHash homepage: https://www.xxhash.com * - xxHash source repository : https://github.com/Cyan4973/xxHash */ @@ -46,7 +46,7 @@ * Method 2 : direct access. This method doesn't depend on compiler but violate C standard. * It can generate buggy code on targets which do not support unaligned memory accesses. * But in some circumstances, it's the only known way to get the most performance (ie GCC + ARMv6) - * See http://stackoverflow.com/a/32095106/646947 for details. + * See https://stackoverflow.com/a/32095106/646947 for details. * Prefer these methods in priority order (0 > 1 > 2) */ #ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */ @@ -169,7 +169,7 @@ static U32 XXH_read32(const void* ptr) { return ((const unalign*)ptr)->u32; } #else /* portable and safe solution. Generally efficient. - * see : http://stackoverflow.com/a/32095106/646947 + * see : https://stackoverflow.com/a/32095106/646947 */ static U32 XXH_read32(const void* memPtr) { @@ -611,7 +611,7 @@ static U64 XXH_read64(const void* ptr) { return ((const unalign64*)ptr)->u64; } #else /* portable and safe solution. Generally efficient. - * see : http://stackoverflow.com/a/32095106/646947 + * see : https://stackoverflow.com/a/32095106/646947 */ static U64 XXH_read64(const void* memPtr) diff --git a/xxhash.h b/xxhash.h index d6bad9433..fb6e24484 100644 --- a/xxhash.h +++ b/xxhash.h @@ -3,7 +3,7 @@ Header File Copyright (C) 2012-2016, Yann Collet. - BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) + BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are diff --git a/zstr.hpp b/zstr.hpp index c2182c886..5718c7384 100644 --- a/zstr.hpp +++ b/zstr.hpp @@ -11,7 +11,7 @@ //--------------------------------------------------------- // Reference: -// http://stackoverflow.com/questions/14086417/how-to-write-custom-input-stream-in-c +// https://stackoverflow.com/questions/14086417/how-to-write-custom-input-stream-in-c #ifndef __ZSTR_HPP #define __ZSTR_HPP @@ -164,8 +164,8 @@ class istreambuf unsigned char b0 = *reinterpret_cast< unsigned char * >(in_buff_start); unsigned char b1 = *reinterpret_cast< unsigned char * >(in_buff_start + 1); // Ref: - // http://en.wikipedia.org/wiki/Gzip - // http://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like + // https://en.wikipedia.org/wiki/Gzip + // https://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like is_text = ! (in_buff_start + 2 <= in_buff_end && ((b0 == 0x1F && b1 == 0x8B) // gzip header || (b0 == 0x78 && (b1 == 0x01 // zlib header