CINXE.COM

GitHub - nitefood/asn: ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server

<!DOCTYPE html> <html lang="en" data-color-mode="auto" data-light-theme="light" data-dark-theme="dark" data-a11y-animated-images="system" data-a11y-link-underlines="true" > <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://github.githubassets.com"> <link rel="dns-prefetch" href="https://avatars.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> <link rel="preconnect" href="https://github.githubassets.com" crossorigin> <link rel="preconnect" href="https://avatars.githubusercontent.com"> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/light-74231a1f3bbb.css" /><link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/dark-8a995f0bacd4.css" /><link data-color-theme="dark_dimmed" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_dimmed-f37fb7684b1f.css" /><link data-color-theme="dark_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_high_contrast-9ac301c3ebe5.css" /><link data-color-theme="dark_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_colorblind-cd826e8636dc.css" /><link data-color-theme="light_colorblind" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_colorblind-f91b0f603451.css" /><link data-color-theme="light_high_contrast" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_high_contrast-83beb16e0ecf.css" /><link data-color-theme="light_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/light_tritanopia-6e122dab64fc.css" /><link data-color-theme="dark_tritanopia" crossorigin="anonymous" media="all" rel="stylesheet" data-href="https://github.githubassets.com/assets/dark_tritanopia-18119e682df0.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-primitives-225433424a87.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-cba26849680f.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-6c72f46bdea5.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/github-ea73c9cb5377.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-4fce88777fa8.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/code-0210be90f4d3.css" /> <script type="application/json" id="client-env">{"locale":"en","featureFlags":["allow_subscription_halted_error","contentful_lp_flex_features_actions","contentful_lp_flex_features_codespaces","contentful_lp_flex_features_code_review","contentful_lp_flex_features_code_search","contentful_lp_flex_features_discussions","contentful_lp_flex_features_issues","copilot_immersive_issue_preview","copilot_new_references_ui","copilot_chat_custom_instructions","copilot_chat_repo_custom_instructions_preview","copilot_chat_show_model_picker_on_retry","copilot_no_floating_button","copilot_topics_as_references","copilot_read_shared_conversation","copilot_duplicate_thread","copilot_free_to_paid_telem","dotcom_chat_client_side_skills","experimentation_azure_variant_endpoint","failbot_handle_non_errors","geojson_azure_maps","ghost_pilot_confidence_truncation_25","ghost_pilot_confidence_truncation_40","github_models_gateway_parse_params","github_models_o3_mini_streaming","insert_before_patch","issues_advanced_search_has_filter","issues_react_remove_placeholders","issues_react_blur_item_picker_on_close","issues_advanced_search_nested_ownership_filters","issues_dashboard_no_redirects","marketing_pages_search_explore_provider","primer_react_css_modules_ga","react_data_router_pull_requests","remove_child_patch","sample_network_conn_type","swp_enterprise_contact_form","site_copilot_pro_plus","site_proxima_australia_update","viewscreen_sandbox","issues_react_create_milestone","lifecycle_label_name_updates","copilot_task_oriented_assistive_prompts","issues_react_grouped_diff_on_edit_history","issues_react_feature_preview_is_over","refresh_image_video_src","codespaces_prebuild_region_target_update","copilot_code_review_sign_up_closed"]}</script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/wp-runtime-264924cd1537.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover_js-9da652f58479.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_arianotify-polyfill_ariaNotify-polyfill_js-node_modules_github_mi-3abb8f-46b9f4874d95.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_failbot_failbot_ts-952d624642a1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/environment-f04cb2a9fc8c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_primer_behaviors_dist_esm_index_mjs-0dbb79f97f8f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_selector-observer_dist_index_esm_js-f690fd9ae3d5.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_relative-time-element_dist_index_js-62d275b7ddd9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_text-expander-element_dist_index_js-78748950cb0c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_auto-complete-element_dist_index_js-node_modules_github_catalyst_-8e9f78-a90ac05d2469.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-a1760ffda83d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_markdown-toolbar-element_dist_index_js-ceef33f593fa.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_primer_view-co-c44a69-efa32db3a345.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/github-elements-394f8eb34f19.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/element-registry-c20bd0705df8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_braintree_browser-detection_dist_browser-detection_js-node_modules_githu-2906d7-2a07a295af40.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_lit-html_lit-html_js-be8cb88f481b.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_morphdom_dist_morphdom-e-7c534c-a4a1922eb55f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_turbo_dist_turbo_es2017-esm_js-a03ee12d659a.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-893f9f-b6294cf703b7.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_color-convert_index_js-e3180fe3bcb3.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_quote-selection_dist_index_js-node_modules_github_session-resume_-947061-e7a6c4a19f98.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_updatable-content_updatable-content_ts-62f3e9c52ece.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_task-list_ts-app_assets_modules_github_sso_ts-ui_packages-900dde-768abe60b1f8.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_sticky-scroll-into-view_ts-3e000c5d31a9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_ajax-error_ts-app_assets_modules_github_behaviors_include-d0d0a6-e7f74ee74d91.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_behaviors_commenting_edit_ts-app_assets_modules_github_behaviors_ht-83c235-4bcbbbfbe1d4.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/behaviors-4414ad8b510b.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-f6223d90c7ba.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-global-01e85cd1be94.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_virtualized-list_es_index_js-node_modules_github_template-parts_lib_index_js-94dc7a2157c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-70450e-4b93df70b903.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/app_assets_modules_github_ref-selector_ts-52913063a0b9.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/codespaces-b419a25ee02f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-3eebbd-0763620ad7bf.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_decorators_js-node_modules_delegated-events_di-e161aa-9d41fb1b6c9e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_file-attachment-element_dist_index_js-node_modules_github_remote--3c9c82-b71ef90fbdc7.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/repositories-10217e4e5a53.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_github_catalyst_lib_inde-dbbea9-26cce2010167.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/code-menu-d6d3c94ee97e.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/primer-react-350730ea92ff.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-core-4e4deaa097d6.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/react-lib-1622bd1e542f.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/octicons-react-cf2f2ab8dab4.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_emotion_is-prop-valid_dist_emotion-is-prop-valid_esm_js-node_modules_emo-41b1a8-6444bd9652c1.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_mini-throttle_dist_index_js-node_modules_stacktrace-parser_dist_s-e7dcdd-9a233856b02c.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_oddbird_popover-polyfill_dist_popover-fn_js-55fea94174bf.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/notifications-subscriptions-menu-53aa08c61b34.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.222503a9a3e08280cedb.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.222503a9a3e08280cedb.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/notifications-subscriptions-menu.1bcff9205c241e99cff2.module.css" /> <title>GitHub - nitefood/asn: ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server</title> <meta name="route-pattern" content="/:user_id/:repository" data-turbo-transient> <meta name="route-controller" content="files" data-turbo-transient> <meta name="route-action" content="disambiguate" data-turbo-transient> <meta name="current-catalog-service-hash" content="f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb"> <meta name="request-id" content="A21C:2B192:433312:4FB95A:67F86D0D" data-pjax-transient="true"/><meta name="html-safe-nonce" content="42221bbc1b24465c066957b5794dde987fa8ea968905f82ee528850d484cad32" data-pjax-transient="true"/><meta name="visitor-payload" content="eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjFDOjJCMTkyOjQzMzMxMjo0RkI5NUE6NjdGODZEMEQiLCJ2aXNpdG9yX2lkIjoiMzkyNDQwMjg4Mzg1OTYwNjc5NyIsInJlZ2lvbl9lZGdlIjoic291dGhlYXN0YXNpYSIsInJlZ2lvbl9yZW5kZXIiOiJzb3V0aGVhc3Rhc2lhIn0=" data-pjax-transient="true"/><meta name="visitor-hmac" content="13ba03c64d9b4bb67245e640fe0ad56b9125484c4c6052dd603db5130bdb2d95" data-pjax-transient="true"/> <meta name="hovercard-subject-tag" content="repository:281804533" data-turbo-transient> <meta name="github-keyboard-shortcuts" content="repository,copilot" data-turbo-transient="true" /> <meta name="selected-link" value="repo_source" data-turbo-transient> <link rel="assets" href="https://github.githubassets.com/"> <meta name="google-site-verification" content="Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I"> <meta name="octolytics-url" content="https://collector.github.com/github/collect" /> <meta name="analytics-location" content="/&lt;user-name&gt;/&lt;repo-name&gt;" data-turbo-transient="true" /> <meta name="user-login" content=""> <meta name="viewport" content="width=device-width"> <meta name="description" content="ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server - nitefood/asn"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub"> <link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub"> <meta property="fb:app_id" content="1401488693436528"> <meta name="apple-itunes-app" content="app-id=1477376905, app-argument=https://github.com/nitefood/asn" /> <meta name="twitter:image" content="https://repository-images.githubusercontent.com/281804533/d475bc80-1607-11eb-8611-0a2fe686a47a" /><meta name="twitter:site" content="@github" /><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:title" content="GitHub - nitefood/asn: ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server" /><meta name="twitter:description" content="ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server - ni..." /> <meta property="og:image" content="https://repository-images.githubusercontent.com/281804533/d475bc80-1607-11eb-8611-0a2fe686a47a" /><meta property="og:image:alt" content="ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server - ni..." /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="GitHub - nitefood/asn: ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server" /><meta property="og:url" content="https://github.com/nitefood/asn" /><meta property="og:description" content="ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server - ni..." /> <meta name="hostname" content="github.com"> <meta name="expected-hostname" content="github.com"> <meta http-equiv="x-pjax-version" content="add0d2757c5ad170b49335ec64b81e335db3ab8570a4cd7217f5842804d9eb5d" data-turbo-track="reload"> <meta http-equiv="x-pjax-csp-version" content="e26f9f0ba624ee85cc7ac057d8faa8618a4f25a85eab052c33d018ac0f6b1a46" data-turbo-track="reload"> <meta http-equiv="x-pjax-css-version" content="341058c5e8253cd18550c7f0cf40561635ef5b37e8705466d53622f2d1f77bd8" data-turbo-track="reload"> <meta http-equiv="x-pjax-js-version" content="730eb558e32c6740e87f68a671fb871dcd2a0d12c8a1cedfc826e7440a917746" data-turbo-track="reload"> <meta name="turbo-cache-control" content="no-preview" data-turbo-transient=""> <meta data-hydrostats="publish"> <meta name="go-import" content="github.com/nitefood/asn git https://github.com/nitefood/asn.git"> <meta name="octolytics-dimension-user_id" content="24555810" /><meta name="octolytics-dimension-user_login" content="nitefood" /><meta name="octolytics-dimension-repository_id" content="281804533" /><meta name="octolytics-dimension-repository_nwo" content="nitefood/asn" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="281804533" /><meta name="octolytics-dimension-repository_network_root_nwo" content="nitefood/asn" /> <link rel="canonical" href="https://github.com/nitefood/asn" data-turbo-transient> <meta name="turbo-body-classes" content="logged-out env-production page-responsive"> <meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats"> <meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors"> <meta name="release" content="82a298e73009602d6e24cfb945ded5ad75e831ee"> <link rel="mask-icon" href="https://github.githubassets.com/assets/pinned-octocat-093da3e6fa40.svg" color="#000000"> <link rel="alternate icon" class="js-site-favicon" type="image/png" href="https://github.githubassets.com/favicons/favicon.png"> <link rel="icon" class="js-site-favicon" type="image/svg+xml" href="https://github.githubassets.com/favicons/favicon.svg" data-base-href="https://github.githubassets.com/favicons/favicon"> <meta name="theme-color" content="#1e2327"> <meta name="color-scheme" content="light dark" /> <link rel="manifest" href="/manifest.json" crossOrigin="use-credentials"> </head> <body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div data-turbo-body class="logged-out env-production page-responsive" style="word-wrap: break-word;"> <div class="position-relative header-wrapper js-header-wrapper "> <a href="#start-of-content" data-skip-target-assigned="false" class="px-2 py-4 color-bg-accent-emphasis color-fg-on-emphasis show-on-focus js-skip-to-content">Skip to content</a> <span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full"> <span style="width: 0%;" data-view-component="true" class="Progress-item progress-pjax-loader-bar left-0 top-0 color-bg-accent-emphasis"></span> </span> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ui-commands_ui-commands_ts-2d52c8e72e64.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/keyboard-shortcuts-dialog-2560f573c7ca.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.222503a9a3e08280cedb.module.css" /> <react-partial partial-name="keyboard-shortcuts-dialog" data-ssr="false" data-attempted-ssr="false" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}</script> <div data-target="react-partial.reactRoot"></div> </react-partial> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-4898d1bf4b51.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/sessions-45d6658f8b6b.js"></script> <header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark> <h2 class="sr-only">Navigation Menu</h2> <button type="button" class="HeaderMktg-backdrop d-lg-none border-0 position-fixed top-0 left-0 width-full height-full js-details-target" aria-label="Toggle navigation"> <span class="d-none">Toggle navigation</span> </button> <div class="d-flex flex-column flex-lg-row flex-items-center px-3 px-md-4 px-lg-5 height-full position-relative z-1"> <div class="d-flex flex-justify-between flex-items-center width-full width-lg-auto"> <div class="flex-1"> <button aria-label="Toggle navigation" aria-expanded="false" type="button" data-view-component="true" class="js-details-target js-nav-padding-recalculate js-header-menu-toggle Button--link Button--medium Button d-lg-none color-fg-inherit p-1"> <span class="Button-content"> <span class="Button-label"><div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div> <div class="HeaderMenu-toggle-bar rounded my-1"></div></span> </span> </button> </div> <a class="mr-lg-3 color-fg-inherit flex-order-2 js-prevent-focus-on-mobile-nav" href="/" aria-label="Homepage" data-analytics-event="{&quot;category&quot;:&quot;Marketing nav&quot;,&quot;action&quot;:&quot;click to go to homepage&quot;,&quot;label&quot;:&quot;ref_page:Marketing;ref_cta:Logomark;ref_loc:Header&quot;}"> <svg height="32" aria-hidden="true" viewBox="0 0 24 24" version="1.1" width="32" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12 1C5.9225 1 1 5.9225 1 12C1 16.8675 4.14875 20.9787 8.52125 22.4362C9.07125 22.5325 9.2775 22.2025 9.2775 21.9137C9.2775 21.6525 9.26375 20.7862 9.26375 19.865C6.5 20.3737 5.785 19.1912 5.565 18.5725C5.44125 18.2562 4.905 17.28 4.4375 17.0187C4.0525 16.8125 3.5025 16.3037 4.42375 16.29C5.29 16.2762 5.90875 17.0875 6.115 17.4175C7.105 19.0812 8.68625 18.6137 9.31875 18.325C9.415 17.61 9.70375 17.1287 10.02 16.8537C7.5725 16.5787 5.015 15.63 5.015 11.4225C5.015 10.2262 5.44125 9.23625 6.1425 8.46625C6.0325 8.19125 5.6475 7.06375 6.2525 5.55125C6.2525 5.55125 7.17375 5.2625 9.2775 6.67875C10.1575 6.43125 11.0925 6.3075 12.0275 6.3075C12.9625 6.3075 13.8975 6.43125 14.7775 6.67875C16.8813 5.24875 17.8025 5.55125 17.8025 5.55125C18.4075 7.06375 18.0225 8.19125 17.9125 8.46625C18.6138 9.23625 19.04 10.2125 19.04 11.4225C19.04 15.6437 16.4688 16.5787 14.0213 16.8537C14.42 17.1975 14.7638 17.8575 14.7638 18.8887C14.7638 20.36 14.75 21.5425 14.75 21.9137C14.75 22.2025 14.9563 22.5462 15.5063 22.4362C19.8513 20.9787 23 16.8537 23 12C23 5.9225 18.0775 1 12 1Z"></path> </svg> </a> <div class="flex-1 flex-order-2 text-right"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn" class="HeaderMenu-link HeaderMenu-button d-inline-flex d-lg-none flex-order-1 f5 no-underline border color-border-default rounded-2 px-2 py-1 color-fg-inherit js-prevent-focus-on-mobile-nav" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="86bf682c744765eccec701778ffe232b4b7b30586a5923f8400d0277e9f92303" data-analytics-event="{&quot;category&quot;:&quot;Marketing nav&quot;,&quot;action&quot;:&quot;click to Sign in&quot;,&quot;label&quot;:&quot;ref_page:Marketing;ref_cta:Sign in;ref_loc:Header&quot;}" > Sign in </a> </div> </div> <div class="HeaderMenu js-header-menu height-fit position-lg-relative d-lg-flex flex-column flex-auto top-0"> <div class="HeaderMenu-wrapper d-flex flex-column flex-self-start flex-lg-row flex-auto rounded rounded-lg-0"> <nav class="HeaderMenu-nav" aria-label="Global"> <ul class="d-lg-flex list-style-none"> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Product <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;github_copilot&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;github_copilot_link_product_navbar&quot;}" href="https://github.com/features/copilot"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Copilot</div> Write better code with AI </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;github_advanced_security&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;github_advanced_security_link_product_navbar&quot;}" href="https://github.com/security/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Advanced Security</div> Find and fix vulnerabilities </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;actions&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;actions_link_product_navbar&quot;}" href="https://github.com/features/actions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-workflow color-fg-subtle mr-3"> <path d="M1 3a2 2 0 0 1 2-2h6.5a2 2 0 0 1 2 2v6.5a2 2 0 0 1-2 2H7v4.063C7 16.355 7.644 17 8.438 17H12.5v-2.5a2 2 0 0 1 2-2H21a2 2 0 0 1 2 2V21a2 2 0 0 1-2 2h-6.5a2 2 0 0 1-2-2v-2.5H8.437A2.939 2.939 0 0 1 5.5 15.562V11.5H3a2 2 0 0 1-2-2Zm2-.5a.5.5 0 0 0-.5.5v6.5a.5.5 0 0 0 .5.5h6.5a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5ZM14.5 14a.5.5 0 0 0-.5.5V21a.5.5 0 0 0 .5.5H21a.5.5 0 0 0 .5-.5v-6.5a.5.5 0 0 0-.5-.5Z"></path> </svg> <div> <div class="color-fg-default h4">Actions</div> Automate any workflow </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;codespaces&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;codespaces_link_product_navbar&quot;}" href="https://github.com/features/codespaces"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-codespaces color-fg-subtle mr-3"> <path d="M3.5 3.75C3.5 2.784 4.284 2 5.25 2h13.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 18.75 13H5.25a1.75 1.75 0 0 1-1.75-1.75Zm-2 12c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v4a1.75 1.75 0 0 1-1.75 1.75H3.25a1.75 1.75 0 0 1-1.75-1.75ZM5.25 3.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h13.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Zm-2 12a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h17.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25Z"></path><path d="M10 17.75a.75.75 0 0 1 .75-.75h6.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> <div> <div class="color-fg-default h4">Codespaces</div> Instant dev environments </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;issues&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;issues_link_product_navbar&quot;}" href="https://github.com/features/issues"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-issue-opened color-fg-subtle mr-3"> <path d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1ZM2.5 12a9.5 9.5 0 0 0 9.5 9.5 9.5 9.5 0 0 0 9.5-9.5A9.5 9.5 0 0 0 12 2.5 9.5 9.5 0 0 0 2.5 12Zm9.5 2a2 2 0 1 1-.001-3.999A2 2 0 0 1 12 14Z"></path> </svg> <div> <div class="color-fg-default h4">Issues</div> Plan and track work </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;code_review&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;code_review_link_product_navbar&quot;}" href="https://github.com/features/code-review"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-review color-fg-subtle mr-3"> <path d="M10.3 6.74a.75.75 0 0 1-.04 1.06l-2.908 2.7 2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M1.5 4.25c0-.966.784-1.75 1.75-1.75h17.5c.966 0 1.75.784 1.75 1.75v12.5a1.75 1.75 0 0 1-1.75 1.75h-9.69l-3.573 3.573A1.458 1.458 0 0 1 5 21.043V18.5H3.25a1.75 1.75 0 0 1-1.75-1.75ZM3.25 4a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 .75.75v3.19l3.72-3.72a.749.749 0 0 1 .53-.22h10a.25.25 0 0 0 .25-.25V4.25a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Review</div> Manage code changes </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;discussions&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;discussions_link_product_navbar&quot;}" href="https://github.com/features/discussions"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Discussions</div> Collaborate outside of code </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;code_search&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;code_search_link_product_navbar&quot;}" href="https://github.com/features/code-search"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-code-square color-fg-subtle mr-3"> <path d="M10.3 8.24a.75.75 0 0 1-.04 1.06L7.352 12l2.908 2.7a.75.75 0 1 1-1.02 1.1l-3.5-3.25a.75.75 0 0 1 0-1.1l3.5-3.25a.75.75 0 0 1 1.06.04Zm3.44 1.06a.75.75 0 1 1 1.02-1.1l3.5 3.25a.75.75 0 0 1 0 1.1l-3.5 3.25a.75.75 0 1 1-1.02-1.1l2.908-2.7-2.908-2.7Z"></path><path d="M2 3.75C2 2.784 2.784 2 3.75 2h16.5c.966 0 1.75.784 1.75 1.75v16.5A1.75 1.75 0 0 1 20.25 22H3.75A1.75 1.75 0 0 1 2 20.25Zm1.75-.25a.25.25 0 0 0-.25.25v16.5c0 .138.112.25.25.25h16.5a.25.25 0 0 0 .25-.25V3.75a.25.25 0 0 0-.25-.25Z"></path> </svg> <div> <div class="color-fg-default h4">Code Search</div> Find more, search less </div> </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="product-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="product-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;all_features&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;all_features_link_product_navbar&quot;}" href="https://github.com/features"> All features </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;documentation&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;documentation_link_product_navbar&quot;}" href="https://docs.github.com"> Documentation <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;github_skills&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;github_skills_link_product_navbar&quot;}" href="https://skills.github.com"> GitHub Skills <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;blog&quot;,&quot;context&quot;:&quot;product&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;blog_link_product_navbar&quot;}" href="https://github.blog"> Blog <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Solutions <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 pb-lg-3 mb-3 mb-lg-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-company-size-heading">By company size</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-company-size-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;enterprises&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;enterprises_link_solutions_navbar&quot;}" href="https://github.com/enterprise"> Enterprises </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;small_and_medium_teams&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;small_and_medium_teams_link_solutions_navbar&quot;}" href="https://github.com/team"> Small and medium teams </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;startups&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;startups_link_solutions_navbar&quot;}" href="https://github.com/enterprise/startups"> Startups </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;nonprofits&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;nonprofits_link_solutions_navbar&quot;}" href="/solutions/industry/nonprofits"> Nonprofits </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-use-case-heading">By use case</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-use-case-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;devsecops&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;devsecops_link_solutions_navbar&quot;}" href="/solutions/use-case/devsecops"> DevSecOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;devops&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;devops_link_solutions_navbar&quot;}" href="/solutions/use-case/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;ci_cd&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;ci_cd_link_solutions_navbar&quot;}" href="/solutions/use-case/ci-cd"> CI/CD </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;view_all_use_cases&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;view_all_use_cases_link_solutions_navbar&quot;}" href="/solutions/use-case"> View all use cases </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="solutions-by-industry-heading">By industry</span> <ul class="list-style-none f5" aria-labelledby="solutions-by-industry-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;healthcare&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;healthcare_link_solutions_navbar&quot;}" href="/solutions/industry/healthcare"> Healthcare </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;financial_services&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;financial_services_link_solutions_navbar&quot;}" href="/solutions/industry/financial-services"> Financial services </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;manufacturing&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;manufacturing_link_solutions_navbar&quot;}" href="/solutions/industry/manufacturing"> Manufacturing </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;government&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;government_link_solutions_navbar&quot;}" href="/solutions/industry/government"> Government </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;view_all_industries&quot;,&quot;context&quot;:&quot;solutions&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;view_all_industries_link_solutions_navbar&quot;}" href="/solutions/industry"> View all industries </a></li> </ul> </div> </div> <div class="HeaderMenu-trailing-link rounded-bottom-2 flex-shrink-0 mt-lg-4 px-lg-4 py-4 py-lg-3 f5 text-semibold"> <a href="/solutions"> View all solutions <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-right HeaderMenu-trailing-link-icon"> <path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"></path> </svg> </a> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Resources <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 d-lg-flex flex-wrap dropdown-menu-wide"> <div class="HeaderMenu-column px-lg-4 border-lg-right mb-4 mb-lg-0 pr-lg-7"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-topics-heading">Topics</span> <ul class="list-style-none f5" aria-labelledby="resources-topics-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;ai&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;ai_link_resources_navbar&quot;}" href="/resources/articles/ai"> AI </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;devops&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;devops_link_resources_navbar&quot;}" href="/resources/articles/devops"> DevOps </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;security&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;security_link_resources_navbar&quot;}" href="/resources/articles/security"> Security </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;software_development&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;software_development_link_resources_navbar&quot;}" href="/resources/articles/software-development"> Software Development </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;view_all&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;view_all_link_resources_navbar&quot;}" href="/resources/articles"> View all </a></li> </ul> </div> </div> <div class="HeaderMenu-column px-lg-4"> <div class="border-bottom pb-3 pb-lg-0 border-lg-bottom-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="resources-explore-heading">Explore</span> <ul class="list-style-none f5" aria-labelledby="resources-explore-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;learning_pathways&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;learning_pathways_link_resources_navbar&quot;}" href="https://resources.github.com/learn/pathways"> Learning Pathways <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;events_amp_webinars&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;events_amp_webinars_link_resources_navbar&quot;}" href="https://resources.github.com"> Events &amp; Webinars <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;ebooks_amp_whitepapers&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;ebooks_amp_whitepapers_link_resources_navbar&quot;}" href="https://github.com/resources/whitepapers"> Ebooks &amp; Whitepapers </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;customer_stories&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;customer_stories_link_resources_navbar&quot;}" href="https://github.com/customer-stories"> Customer Stories </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary Link--external" target="_blank" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;partners&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;partners_link_resources_navbar&quot;}" href="https://partner.github.com"> Partners <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-link-external HeaderMenu-external-icon color-fg-subtle"> <path d="M3.75 2h3.5a.75.75 0 0 1 0 1.5h-3.5a.25.25 0 0 0-.25.25v8.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-3.5a.75.75 0 0 1 1.5 0v3.5A1.75 1.75 0 0 1 12.25 14h-8.5A1.75 1.75 0 0 1 2 12.25v-8.5C2 2.784 2.784 2 3.75 2Zm6.854-1h4.146a.25.25 0 0 1 .25.25v4.146a.25.25 0 0 1-.427.177L13.03 4.03 9.28 7.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75-1.543-1.543A.25.25 0 0 1 10.604 1Z"></path> </svg> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;executive_insights&quot;,&quot;context&quot;:&quot;resources&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;executive_insights_link_resources_navbar&quot;}" href="https://github.com/solutions/executive-insights"> Executive Insights </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Open Source <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;github_sponsors&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;github_sponsors_link_open_source_navbar&quot;}" href="/sponsors"> <div> <div class="color-fg-default h4">GitHub Sponsors</div> Fund open source developers </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;the_readme_project&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;the_readme_project_link_open_source_navbar&quot;}" href="https://github.com/readme"> <div> <div class="color-fg-default h4">The ReadME Project</div> GitHub community articles </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="open-source-repositories-heading">Repositories</span> <ul class="list-style-none f5" aria-labelledby="open-source-repositories-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;topics&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;topics_link_open_source_navbar&quot;}" href="https://github.com/topics"> Topics </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;trending&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;trending_link_open_source_navbar&quot;}" href="https://github.com/trending"> Trending </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;collections&quot;,&quot;context&quot;:&quot;open_source&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;collections_link_open_source_navbar&quot;}" href="https://github.com/collections"> Collections </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <button type="button" class="HeaderMenu-link border-0 width-full width-lg-auto px-0 px-lg-2 py-lg-2 no-wrap d-flex flex-items-center flex-justify-between js-details-target" aria-expanded="false"> Enterprise <svg opacity="0.5" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-chevron-down HeaderMenu-icon ml-1"> <path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"></path> </svg> </button> <div class="HeaderMenu-dropdown dropdown-menu rounded m-0 p-0 pt-2 pt-lg-4 position-relative position-lg-absolute left-0 left-lg-n3 pb-2 pb-lg-4 px-lg-4"> <div class="HeaderMenu-column"> <div class="border-bottom pb-3 pb-lg-0 pb-lg-3 mb-3 mb-lg-0 mb-lg-3"> <ul class="list-style-none f5" > <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;enterprise_platform&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;enterprise_platform_link_enterprise_navbar&quot;}" href="/enterprise"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-stack color-fg-subtle mr-3"> <path d="M11.063 1.456a1.749 1.749 0 0 1 1.874 0l8.383 5.316a1.751 1.751 0 0 1 0 2.956l-8.383 5.316a1.749 1.749 0 0 1-1.874 0L2.68 9.728a1.751 1.751 0 0 1 0-2.956Zm1.071 1.267a.25.25 0 0 0-.268 0L3.483 8.039a.25.25 0 0 0 0 .422l8.383 5.316a.25.25 0 0 0 .268 0l8.383-5.316a.25.25 0 0 0 0-.422Z"></path><path d="M1.867 12.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path><path d="M1.867 16.324a.75.75 0 0 1 1.035-.232l8.964 5.685a.25.25 0 0 0 .268 0l8.964-5.685a.75.75 0 0 1 .804 1.267l-8.965 5.685a1.749 1.749 0 0 1-1.874 0l-8.965-5.685a.75.75 0 0 1-.231-1.035Z"></path> </svg> <div> <div class="color-fg-default h4">Enterprise platform</div> AI-powered developer platform </div> </a></li> </ul> </div> <div class="border-bottom pb-3 pb-lg-0 border-bottom-0"> <span class="d-block h4 color-fg-default my-1" id="enterprise-available-add-ons-heading">Available add-ons</span> <ul class="list-style-none f5" aria-labelledby="enterprise-available-add-ons-heading"> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;github_advanced_security&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;github_advanced_security_link_enterprise_navbar&quot;}" href="https://github.com/security/advanced-security"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-shield-check color-fg-subtle mr-3"> <path d="M16.53 9.78a.75.75 0 0 0-1.06-1.06L11 13.19l-1.97-1.97a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.06 0l5-5Z"></path><path d="m12.54.637 8.25 2.675A1.75 1.75 0 0 1 22 4.976V10c0 6.19-3.771 10.704-9.401 12.83a1.704 1.704 0 0 1-1.198 0C5.77 20.705 2 16.19 2 10V4.976c0-.758.489-1.43 1.21-1.664L11.46.637a1.748 1.748 0 0 1 1.08 0Zm-.617 1.426-8.25 2.676a.249.249 0 0 0-.173.237V10c0 5.46 3.28 9.483 8.43 11.426a.199.199 0 0 0 .14 0C17.22 19.483 20.5 15.461 20.5 10V4.976a.25.25 0 0 0-.173-.237l-8.25-2.676a.253.253 0 0 0-.154 0Z"></path> </svg> <div> <div class="color-fg-default h4">GitHub Advanced Security</div> Enterprise-grade security features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description pb-lg-3" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;copilot_for_business&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;copilot_for_business_link_enterprise_navbar&quot;}" href="/features/copilot/copilot-business"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-copilot color-fg-subtle mr-3"> <path d="M23.922 16.992c-.861 1.495-5.859 5.023-11.922 5.023-6.063 0-11.061-3.528-11.922-5.023A.641.641 0 0 1 0 16.736v-2.869a.841.841 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.195 10.195 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952 1.399-1.136 3.392-2.093 6.122-2.093 2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.832.832 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256ZM12.172 11h-.344a4.323 4.323 0 0 1-.355.508C10.703 12.455 9.555 13 7.965 13c-1.725 0-2.989-.359-3.782-1.259a2.005 2.005 0 0 1-.085-.104L4 11.741v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.323 4.323 0 0 1-.355-.508h-.016.016Zm.641-2.935c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z"></path><path d="M14.5 14.25a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-5 0a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z"></path> </svg> <div> <div class="color-fg-default h4">Copilot for business</div> Enterprise-grade AI features </div> </a></li> <li> <a class="HeaderMenu-dropdown-link d-block no-underline position-relative py-2 Link--secondary d-flex flex-items-center Link--has-description" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;premium_support&quot;,&quot;context&quot;:&quot;enterprise&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;premium_support_link_enterprise_navbar&quot;}" href="/premium-support"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-comment-discussion color-fg-subtle mr-3"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 14.25 14H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 15.543V14H1.75A1.75 1.75 0 0 1 0 12.25v-9.5C0 1.784.784 1 1.75 1ZM1.5 2.75v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Z"></path><path d="M22.5 8.75a.25.25 0 0 0-.25-.25h-3.5a.75.75 0 0 1 0-1.5h3.5c.966 0 1.75.784 1.75 1.75v9.5A1.75 1.75 0 0 1 22.25 20H21v1.543a1.457 1.457 0 0 1-2.487 1.03L15.939 20H10.75A1.75 1.75 0 0 1 9 18.25v-1.465a.75.75 0 0 1 1.5 0v1.465c0 .138.112.25.25.25h5.5a.75.75 0 0 1 .53.22l2.72 2.72v-2.19a.75.75 0 0 1 .75-.75h2a.25.25 0 0 0 .25-.25v-9.5Z"></path> </svg> <div> <div class="color-fg-default h4">Premium Support</div> Enterprise-grade 24/7 support </div> </a></li> </ul> </div> </div> </div> </li> <li class="HeaderMenu-item position-relative flex-wrap flex-justify-between flex-items-center d-block d-lg-flex flex-lg-nowrap flex-lg-items-center js-details-container js-header-menu-item"> <a class="HeaderMenu-link no-underline px-0 px-lg-2 py-3 py-lg-2 d-block d-lg-inline-block" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;pricing&quot;,&quot;context&quot;:&quot;global&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;pricing_link_global_navbar&quot;}" href="https://github.com/pricing">Pricing</a> </li> </ul> </nav> <div class="d-flex flex-column flex-lg-row width-full flex-justify-end flex-lg-items-center text-center mt-3 mt-lg-0 text-lg-left ml-lg-3"> <qbsearch-input class="search-input" data-scope="repo:nitefood/asn" data-custom-scopes-path="/search/custom_scopes" data-delete-custom-scopes-csrf="4BA1nN-eD8nZLN6XI1IqcKH-lL9qKGQQkw2ijHc5ZUOr6u0koJdQPGwhjgp4djljXwamY9pHBV9FtJh_gXwVzA" data-max-custom-scopes="10" data-header-redesign-enabled="false" data-initial-value="" data-blackbird-suggestions-path="/search/suggestions" data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations" data-current-repository="nitefood/asn" data-current-org="" data-current-owner="nitefood" data-logged-in="false" data-copilot-chat-enabled="false" data-nl-search-enabled="false" data-retain-scroll-position="true"> <div class="search-input-container search-with-dialog position-relative d-flex flex-row flex-items-center mr-4 rounded" data-action="click:qbsearch-input#searchInputContainerClicked" > <button type="button" class="header-search-button placeholder input-button form-control d-flex flex-1 flex-self-stretch flex-items-center no-wrap width-full py-0 pl-2 pr-0 text-left border-0 box-shadow-none" data-target="qbsearch-input.inputButton" aria-label="Search or jump to…" aria-haspopup="dialog" placeholder="Search or jump to..." data-hotkey=s,/ autocapitalize="off" data-analytics-event="{&quot;location&quot;:&quot;navbar&quot;,&quot;action&quot;:&quot;searchbar&quot;,&quot;context&quot;:&quot;global&quot;,&quot;tag&quot;:&quot;input&quot;,&quot;label&quot;:&quot;searchbar_input_global_navbar&quot;}" data-action="click:qbsearch-input#handleExpand" > <div class="mr-2 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </div> <span class="flex-1" data-target="qbsearch-input.inputButtonText">Search or jump to...</span> <div class="d-flex" data-target="qbsearch-input.hotkeyIndicator"> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="20" aria-hidden="true" class="mr-1"><path fill="none" stroke="#979A9C" opacity=".4" d="M3.5.5h12c1.7 0 3 1.3 3 3v13c0 1.7-1.3 3-3 3h-12c-1.7 0-3-1.3-3-3v-13c0-1.7 1.3-3 3-3z"></path><path fill="#979A9C" d="M11.8 6L8 15.1h-.9L10.8 6h1z"></path></svg> </div> </button> <input type="hidden" name="type" class="js-site-search-type-field"> <div class="Overlay--hidden " data-modal-dialog-overlay> <modal-dialog data-action="close:qbsearch-input#handleClose cancel:qbsearch-input#handleClose" data-target="qbsearch-input.searchSuggestionsDialog" role="dialog" id="search-suggestions-dialog" aria-modal="true" aria-labelledby="search-suggestions-dialog-header" data-view-component="true" class="Overlay Overlay--width-large Overlay--height-auto"> <h1 id="search-suggestions-dialog-header" class="sr-only">Search code, repositories, users, issues, pull requests...</h1> <div class="Overlay-body Overlay-body--paddingNone"> <div data-view-component="true"> <div class="search-suggestions position-fixed width-full color-shadow-large border color-fg-default color-bg-default overflow-hidden d-flex flex-column query-builder-container" style="border-radius: 12px;" data-target="qbsearch-input.queryBuilderContainer" hidden > <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="query-builder-test-form" action="" accept-charset="UTF-8" method="get"> <query-builder data-target="qbsearch-input.queryBuilder" id="query-builder-query-builder-test" data-filter-key=":" data-view-component="true" class="QueryBuilder search-query-builder"> <div class="FormControl FormControl--fullWidth"> <label id="query-builder-test-label" for="query-builder-test" class="FormControl-label sr-only"> Search </label> <div class="QueryBuilder-StyledInput width-fit " data-target="query-builder.styledInput" > <span id="query-builder-test-leadingvisual-wrap" class="FormControl-input-leadingVisualWrap QueryBuilder-leadingVisualWrap"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search FormControl-input-leadingVisual"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </span> <div data-target="query-builder.styledInputContainer" class="QueryBuilder-StyledInputContainer"> <div aria-hidden="true" class="QueryBuilder-StyledInputContent" data-target="query-builder.styledInputContent" ></div> <div class="QueryBuilder-InputWrapper"> <div aria-hidden="true" class="QueryBuilder-Sizer" data-target="query-builder.sizer"></div> <input id="query-builder-test" name="query-builder-test" value="" autocomplete="off" type="text" role="combobox" spellcheck="false" aria-expanded="false" aria-describedby="validation-ddb47d0a-58f1-41e9-a11f-f6756a9d756a" data-target="query-builder.input" data-action=" input:query-builder#inputChange blur:query-builder#inputBlur keydown:query-builder#inputKeydown focus:query-builder#inputFocus " data-view-component="true" class="FormControl-input QueryBuilder-Input FormControl-medium" /> </div> </div> <span class="sr-only" id="query-builder-test-clear">Clear</span> <button role="button" id="query-builder-test-clear-button" aria-labelledby="query-builder-test-clear query-builder-test-label" data-target="query-builder.clearButton" data-action=" click:query-builder#clear focus:query-builder#clearButtonFocus blur:query-builder#clearButtonBlur " variant="small" hidden="hidden" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium mr-1 px-2 py-0 d-flex flex-items-center rounded-1 color-fg-muted"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x-circle-fill Button-visual"> <path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"></path> </svg> </button> </div> <template id="search-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-search"> <path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path> </svg> </template> <template id="code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="file-code-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-file-code"> <path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path> </svg> </template> <template id="history-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-history"> <path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path> </svg> </template> <template id="repo-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> </template> <template id="bookmark-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bookmark"> <path d="M3 2.75C3 1.784 3.784 1 4.75 1h6.5c.966 0 1.75.784 1.75 1.75v11.5a.75.75 0 0 1-1.227.579L8 11.722l-3.773 3.107A.751.751 0 0 1 3 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.91l3.023-2.489a.75.75 0 0 1 .954 0l3.023 2.49V2.75a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="plus-circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-plus-circle"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7.25-3.25v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="circle-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> </template> <template id="trash-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-trash"> <path d="M11 1.75V3h2.25a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1 0-1.5H5V1.75C5 .784 5.784 0 6.75 0h2.5C10.216 0 11 .784 11 1.75ZM4.496 6.675l.66 6.6a.25.25 0 0 0 .249.225h5.19a.25.25 0 0 0 .249-.225l.66-6.6a.75.75 0 0 1 1.492.149l-.66 6.6A1.748 1.748 0 0 1 10.595 15h-5.19a1.75 1.75 0 0 1-1.741-1.575l-.66-6.6a.75.75 0 1 1 1.492-.15ZM6.5 1.75V3h3V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"></path> </svg> </template> <template id="team-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-people"> <path d="M2 5.5a3.5 3.5 0 1 1 5.898 2.549 5.508 5.508 0 0 1 3.034 4.084.75.75 0 1 1-1.482.235 4 4 0 0 0-7.9 0 .75.75 0 0 1-1.482-.236A5.507 5.507 0 0 1 3.102 8.05 3.493 3.493 0 0 1 2 5.5ZM11 4a3.001 3.001 0 0 1 2.22 5.018 5.01 5.01 0 0 1 2.56 3.012.749.749 0 0 1-.885.954.752.752 0 0 1-.549-.514 3.507 3.507 0 0 0-2.522-2.372.75.75 0 0 1-.574-.73v-.352a.75.75 0 0 1 .416-.672A1.5 1.5 0 0 0 11 5.5.75.75 0 0 1 11 4Zm-5.5-.5a2 2 0 1 0-.001 3.999A2 2 0 0 0 5.5 3.5Z"></path> </svg> </template> <template id="project-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-project"> <path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25ZM11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3Z"></path> </svg> </template> <template id="pencil-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pencil"> <path d="M11.013 1.427a1.75 1.75 0 0 1 2.474 0l1.086 1.086a1.75 1.75 0 0 1 0 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 0 1-.927-.928l.929-3.25c.081-.286.235-.547.445-.758l8.61-8.61Zm.176 4.823L9.75 4.81l-6.286 6.287a.253.253 0 0 0-.064.108l-.558 1.953 1.953-.558a.253.253 0 0 0 .108-.064Zm1.238-3.763a.25.25 0 0 0-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 0 0 0-.354Z"></path> </svg> </template> <template id="copilot-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot"> <path d="M7.998 15.035c-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.201-.508-.254-1.084-.254-1.656 0-.87.128-1.769.693-2.484.579-.733 1.494-1.124 2.724-1.261 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095v1.872c0 .766-3.351 3.795-8.002 3.795Zm0-1.485c2.28 0 4.584-1.11 5.002-1.433V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-1.146 0-2.059-.327-2.71-.991A3.222 3.222 0 0 1 8 6.303a3.24 3.24 0 0 1-.544.743c-.65.664-1.563.991-2.71.991-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433ZM6.762 2.83c-.193-.206-.637-.413-1.682-.297-1.019.113-1.479.404-1.713.7-.247.312-.369.789-.369 1.554 0 .793.129 1.171.308 1.371.162.181.519.379 1.442.379.853 0 1.339-.235 1.638-.54.315-.322.527-.827.617-1.553.117-.935-.037-1.395-.241-1.614Zm4.155-.297c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Z"></path><path d="M6.25 9.037a.75.75 0 0 1 .75.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 .75-.75Zm4.25.75v1.501a.75.75 0 0 1-1.5 0V9.787a.75.75 0 0 1 1.5 0Z"></path> </svg> </template> <template id="copilot-error-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copilot-error"> <path d="M16 11.24c0 .112-.072.274-.21.467L13 9.688V7.862l-.023-.116c-.49.21-1.075.291-1.727.291-.198 0-.388-.009-.571-.029L6.833 5.226a4.01 4.01 0 0 0 .17-.782c.117-.935-.037-1.395-.241-1.614-.193-.206-.637-.413-1.682-.297-.683.076-1.115.231-1.395.415l-1.257-.91c.579-.564 1.413-.877 2.485-.996 1.206-.134 2.262.034 2.944.765.05.053.096.108.139.165.044-.057.094-.112.143-.165.682-.731 1.738-.899 2.944-.765 1.23.137 2.145.528 2.724 1.261.566.715.693 1.614.693 2.484 0 .572-.053 1.148-.254 1.656.066.228.098.429.126.612.012.076.024.148.037.218.924.385 1.522 1.471 1.591 2.095Zm-5.083-8.707c-1.044-.116-1.488.091-1.681.297-.204.219-.359.679-.242 1.614.091.726.303 1.231.618 1.553.299.305.784.54 1.638.54.922 0 1.28-.198 1.442-.379.179-.2.308-.578.308-1.371 0-.765-.123-1.242-.37-1.554-.233-.296-.693-.587-1.713-.7Zm2.511 11.074c-1.393.776-3.272 1.428-5.43 1.428-4.562 0-7.873-2.914-7.998-3.749V9.338c.085-.628.677-1.686 1.588-2.065.013-.07.024-.143.036-.218.029-.183.06-.384.126-.612-.18-.455-.241-.963-.252-1.475L.31 4.107A.747.747 0 0 1 0 3.509V3.49a.748.748 0 0 1 .625-.73c.156-.026.306.047.435.139l14.667 10.578a.592.592 0 0 1 .227.264.752.752 0 0 1 .046.249v.022a.75.75 0 0 1-1.19.596Zm-1.367-.991L5.635 7.964a5.128 5.128 0 0 1-.889.073c-.652 0-1.236-.081-1.727-.291l-.023.116v4.255c.419.323 2.722 1.433 5.002 1.433 1.539 0 3.089-.505 4.063-.934Z"></path> </svg> </template> <template id="workflow-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-workflow"> <path d="M0 1.75C0 .784.784 0 1.75 0h3.5C6.216 0 7 .784 7 1.75v3.5A1.75 1.75 0 0 1 5.25 7H4v4a1 1 0 0 0 1 1h4v-1.25C9 9.784 9.784 9 10.75 9h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 14.25 16h-3.5A1.75 1.75 0 0 1 9 14.25v-.75H5A2.5 2.5 0 0 1 2.5 11V7h-.75A1.75 1.75 0 0 1 0 5.25Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Zm9 9a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="book-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> </template> <template id="code-review-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-review"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 13H8.061l-2.574 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25v-8.5C0 1.784.784 1 1.75 1ZM1.5 2.75v8.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-8.5a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm5.28 1.72a.75.75 0 0 1 0 1.06L5.31 7l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 0 1 1.06 0Zm2.44 0a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L10.69 7 9.22 5.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </template> <template id="codespaces-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-codespaces"> <path d="M0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm2-9.5C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75Zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25Zm-2 9.5a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25Z"></path><path d="M7 12.75a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm-4 0a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"></path> </svg> </template> <template id="comment-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment"> <path d="M1 2.75C1 1.784 1.784 1 2.75 1h10.5c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 13.25 12H9.06l-2.573 2.573A1.458 1.458 0 0 1 4 13.543V12H2.75A1.75 1.75 0 0 1 1 10.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h4.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> </template> <template id="comment-discussion-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </template> <template id="organization-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-organization"> <path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.766.766 0 0 1-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75Zm4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75ZM7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75ZM7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="rocket-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-rocket"> <path d="M14.064 0h.186C15.216 0 16 .784 16 1.75v.186a8.752 8.752 0 0 1-2.564 6.186l-.458.459c-.314.314-.641.616-.979.904v3.207c0 .608-.315 1.172-.833 1.49l-2.774 1.707a.749.749 0 0 1-1.11-.418l-.954-3.102a1.214 1.214 0 0 1-.145-.125L3.754 9.816a1.218 1.218 0 0 1-.124-.145L.528 8.717a.749.749 0 0 1-.418-1.11l1.71-2.774A1.748 1.748 0 0 1 3.31 4h3.204c.288-.338.59-.665.904-.979l.459-.458A8.749 8.749 0 0 1 14.064 0ZM8.938 3.623h-.002l-.458.458c-.76.76-1.437 1.598-2.02 2.5l-1.5 2.317 2.143 2.143 2.317-1.5c.902-.583 1.74-1.26 2.499-2.02l.459-.458a7.25 7.25 0 0 0 2.123-5.127V1.75a.25.25 0 0 0-.25-.25h-.186a7.249 7.249 0 0 0-5.125 2.123ZM3.56 14.56c-.732.732-2.334 1.045-3.005 1.148a.234.234 0 0 1-.201-.064.234.234 0 0 1-.064-.201c.103-.671.416-2.273 1.15-3.003a1.502 1.502 0 1 1 2.12 2.12Zm6.94-3.935c-.088.06-.177.118-.266.175l-2.35 1.521.548 1.783 1.949-1.2a.25.25 0 0 0 .119-.213ZM3.678 8.116 5.2 5.766c.058-.09.117-.178.176-.266H3.309a.25.25 0 0 0-.213.119l-1.2 1.95ZM12 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </template> <template id="shield-check-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield-check"> <path d="m8.533.133 5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667l5.25-1.68a1.748 1.748 0 0 1 1.066 0Zm-.61 1.429.001.001-5.25 1.68a.251.251 0 0 0-.174.237V7c0 1.36.275 2.666 1.057 3.859.784 1.194 2.121 2.342 4.366 3.298a.196.196 0 0 0 .154 0c2.245-.957 3.582-2.103 4.366-3.297C13.225 9.666 13.5 8.358 13.5 7V3.48a.25.25 0 0 0-.174-.238l-5.25-1.68a.25.25 0 0 0-.153 0ZM11.28 6.28l-3.5 3.5a.75.75 0 0 1-1.06 0l-1.5-1.5a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l.97.97 2.97-2.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="heart-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-heart"> <path d="m8 14.25.345.666a.75.75 0 0 1-.69 0l-.008-.004-.018-.01a7.152 7.152 0 0 1-.31-.17 22.055 22.055 0 0 1-3.434-2.414C2.045 10.731 0 8.35 0 5.5 0 2.836 2.086 1 4.25 1 5.797 1 7.153 1.802 8 3.02 8.847 1.802 10.203 1 11.75 1 13.914 1 16 2.836 16 5.5c0 2.85-2.045 5.231-3.885 6.818a22.066 22.066 0 0 1-3.744 2.584l-.018.01-.006.003h-.002ZM4.25 2.5c-1.336 0-2.75 1.164-2.75 3 0 2.15 1.58 4.144 3.365 5.682A20.58 20.58 0 0 0 8 13.393a20.58 20.58 0 0 0 3.135-2.211C12.92 9.644 14.5 7.65 14.5 5.5c0-1.836-1.414-3-2.75-3-1.373 0-2.609.986-3.029 2.456a.749.749 0 0 1-1.442 0C6.859 3.486 5.623 2.5 4.25 2.5Z"></path> </svg> </template> <template id="server-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-server"> <path d="M1.75 1h12.5c.966 0 1.75.784 1.75 1.75v4c0 .372-.116.717-.314 1 .198.283.314.628.314 1v4a1.75 1.75 0 0 1-1.75 1.75H1.75A1.75 1.75 0 0 1 0 12.75v-4c0-.358.109-.707.314-1a1.739 1.739 0 0 1-.314-1v-4C0 1.784.784 1 1.75 1ZM1.5 2.75v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25Zm.25 5.75a.25.25 0 0 0-.25.25v4c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-4a.25.25 0 0 0-.25-.25ZM7 4.75A.75.75 0 0 1 7.75 4h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 7 4.75ZM7.75 10h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM3 4.75A.75.75 0 0 1 3.75 4h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 4.75ZM3.75 10h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"></path> </svg> </template> <template id="globe-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-globe"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM5.78 8.75a9.64 9.64 0 0 0 1.363 4.177c.255.426.542.832.857 1.215.245-.296.551-.705.857-1.215A9.64 9.64 0 0 0 10.22 8.75Zm4.44-1.5a9.64 9.64 0 0 0-1.363-4.177c-.307-.51-.612-.919-.857-1.215a9.927 9.927 0 0 0-.857 1.215A9.64 9.64 0 0 0 5.78 7.25Zm-5.944 1.5H1.543a6.507 6.507 0 0 0 4.666 5.5c-.123-.181-.24-.365-.352-.552-.715-1.192-1.437-2.874-1.581-4.948Zm-2.733-1.5h2.733c.144-2.074.866-3.756 1.58-4.948.12-.197.237-.381.353-.552a6.507 6.507 0 0 0-4.666 5.5Zm10.181 1.5c-.144 2.074-.866 3.756-1.58 4.948-.12.197-.237.381-.353.552a6.507 6.507 0 0 0 4.666-5.5Zm2.733-1.5a6.507 6.507 0 0 0-4.666-5.5c.123.181.24.365.353.552.714 1.192 1.436 2.874 1.58 4.948Z"></path> </svg> </template> <template id="issue-opened-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </template> <template id="device-mobile-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-mobile"> <path d="M3.75 0h8.5C13.216 0 14 .784 14 1.75v12.5A1.75 1.75 0 0 1 12.25 16h-8.5A1.75 1.75 0 0 1 2 14.25V1.75C2 .784 2.784 0 3.75 0ZM3.5 1.75v12.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM8 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path> </svg> </template> <template id="package-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-package"> <path d="m8.878.392 5.25 3.045c.54.314.872.89.872 1.514v6.098a1.75 1.75 0 0 1-.872 1.514l-5.25 3.045a1.75 1.75 0 0 1-1.756 0l-5.25-3.045A1.75 1.75 0 0 1 1 11.049V4.951c0-.624.332-1.201.872-1.514L7.122.392a1.75 1.75 0 0 1 1.756 0ZM7.875 1.69l-4.63 2.685L8 7.133l4.755-2.758-4.63-2.685a.248.248 0 0 0-.25 0ZM2.5 5.677v5.372c0 .09.047.171.125.216l4.625 2.683V8.432Zm6.25 8.271 4.625-2.683a.25.25 0 0 0 .125-.216V5.677L8.75 8.432Z"></path> </svg> </template> <template id="credit-card-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-credit-card"> <path d="M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"></path><path d="M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z"></path> </svg> </template> <template id="play-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </template> <template id="gift-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-gift"> <path d="M2 2.75A2.75 2.75 0 0 1 4.75 0c.983 0 1.873.42 2.57 1.232.268.318.497.668.68 1.042.183-.375.411-.725.68-1.044C9.376.42 10.266 0 11.25 0a2.75 2.75 0 0 1 2.45 4h.55c.966 0 1.75.784 1.75 1.75v2c0 .698-.409 1.301-1 1.582v4.918A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V9.332C.409 9.05 0 8.448 0 7.75v-2C0 4.784.784 4 1.75 4h.55c-.192-.375-.3-.8-.3-1.25ZM7.25 9.5H2.5v4.75c0 .138.112.25.25.25h4.5Zm1.5 0v5h4.5a.25.25 0 0 0 .25-.25V9.5Zm0-4V8h5.5a.25.25 0 0 0 .25-.25v-2a.25.25 0 0 0-.25-.25Zm-7 0a.25.25 0 0 0-.25.25v2c0 .138.112.25.25.25h5.5V5.5h-5.5Zm3-4a1.25 1.25 0 0 0 0 2.5h2.309c-.233-.818-.542-1.401-.878-1.793-.43-.502-.915-.707-1.431-.707ZM8.941 4h2.309a1.25 1.25 0 0 0 0-2.5c-.516 0-1 .205-1.43.707-.337.392-.646.975-.879 1.793Z"></path> </svg> </template> <template id="code-square-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code-square"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Zm7.47 3.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L10.69 8 9.22 6.53a.75.75 0 0 1 0-1.06ZM6.78 6.53 5.31 8l1.47 1.47a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </template> <template id="device-desktop-icon"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-device-desktop"> <path d="M14.25 1c.966 0 1.75.784 1.75 1.75v7.5A1.75 1.75 0 0 1 14.25 12h-3.727c.099 1.041.52 1.872 1.292 2.757A.752.752 0 0 1 11.25 16h-6.5a.75.75 0 0 1-.565-1.243c.772-.885 1.192-1.716 1.292-2.757H1.75A1.75 1.75 0 0 1 0 10.25v-7.5C0 1.784.784 1 1.75 1ZM1.75 2.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25ZM9.018 12H6.982a5.72 5.72 0 0 1-.765 2.5h3.566a5.72 5.72 0 0 1-.765-2.5Z"></path> </svg> </template> <div class="position-relative"> <ul role="listbox" class="ActionListWrap QueryBuilder-ListWrap" aria-label="Suggestions" data-action=" combobox-commit:query-builder#comboboxCommit mousedown:query-builder#resultsMousedown " data-target="query-builder.resultsList" data-persist-list=false id="query-builder-test-results" ></ul> </div> <div class="FormControl-inlineValidation" id="validation-ddb47d0a-58f1-41e9-a11f-f6756a9d756a" hidden="hidden"> <span class="FormControl-inlineValidation--visual"> <svg aria-hidden="true" height="12" viewBox="0 0 12 12" version="1.1" width="12" data-view-component="true" class="octicon octicon-alert-fill"> <path d="M4.855.708c.5-.896 1.79-.896 2.29 0l4.675 8.351a1.312 1.312 0 0 1-1.146 1.954H1.33A1.313 1.313 0 0 1 .183 9.058ZM7 7V3H5v4Zm-1 3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"></path> </svg> </span> <span></span> </div> </div> <div data-target="query-builder.screenReaderFeedback" aria-live="polite" aria-atomic="true" class="sr-only"></div> </query-builder></form> <div class="d-flex flex-row color-fg-muted px-3 text-small color-bg-default search-feedback-prompt"> <a target="_blank" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax" data-view-component="true" class="Link color-fg-accent text-normal ml-2">Search syntax tips</a> <div class="d-flex flex-1"></div> </div> </div> </div> </div> </modal-dialog></div> </div> <div data-action="click:qbsearch-input#retract" class="dark-backdrop position-fixed" hidden data-target="qbsearch-input.darkBackdrop"></div> <div class="color-fg-default"> <dialog-helper> <dialog data-target="qbsearch-input.feedbackDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="feedback-dialog" aria-modal="true" aria-labelledby="feedback-dialog-title" aria-describedby="feedback-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="feedback-dialog-title"> Provide feedback </h1> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="feedback-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="feedback-dialog-title"> <div data-view-component="true" class="Overlay-body"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="code-search-feedback-form" data-turbo="false" action="/search/feedback" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="uBWpGQBNJtmTItWXH7dLNBVTbG8BN/lv6U/OHdtltJ6K/P1tho5aeF86JyHlBjj/E6mfgzVwbav7inn/vJ2ezQ==" /> <p>We read every piece of feedback, and take your input very seriously.</p> <textarea name="feedback" class="form-control width-full mb-2" style="height: 120px" id="feedback"></textarea> <input name="include_email" id="include_email" aria-label="Include my email address so I can be contacted" class="form-control mr-2" type="checkbox"> <label for="include_email" style="font-weight: normal">Include my email address so I can be contacted</label> </form></div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd"> <button data-close-dialog-id="feedback-dialog" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="code-search-feedback-form" data-action="click:qbsearch-input#submitFeedback" type="submit" data-view-component="true" class="btn-primary btn"> Submit feedback </button> </div> </dialog></dialog-helper> <custom-scopes data-target="qbsearch-input.customScopesManager"> <dialog-helper> <dialog data-target="custom-scopes.customScopesModalDialog" data-action="close:qbsearch-input#handleDialogClose cancel:qbsearch-input#handleDialogClose" id="custom-scopes-dialog" aria-modal="true" aria-labelledby="custom-scopes-dialog-title" aria-describedby="custom-scopes-dialog-description" data-view-component="true" class="Overlay Overlay-whenNarrow Overlay--size-medium Overlay--motion-scaleFade Overlay--disableScroll"> <div data-view-component="true" class="Overlay-header Overlay-header--divided"> <div class="Overlay-headerContentWrap"> <div class="Overlay-titleWrap"> <h1 class="Overlay-title " id="custom-scopes-dialog-title"> Saved searches </h1> <h2 id="custom-scopes-dialog-description" class="Overlay-description">Use saved searches to filter your results more quickly</h2> </div> <div class="Overlay-actionWrap"> <button data-close-dialog-id="custom-scopes-dialog" aria-label="Close" type="button" data-view-component="true" class="close-button Overlay-closeButton"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg></button> </div> </div> </div> <scrollable-region data-labelled-by="custom-scopes-dialog-title"> <div data-view-component="true" class="Overlay-body"> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <div hidden class="create-custom-scope-form" data-target="custom-scopes.createCustomScopeForm"> <!-- '"` --><!-- </textarea></xmp> --></option></form><form id="custom-scopes-dialog-form" data-turbo="false" action="/search/custom_scopes" accept-charset="UTF-8" method="post"><input type="hidden" data-csrf="true" name="authenticity_token" value="/vxmVCOCWy6G6CrhlFCmVblCc4xKVYziFyvCDPSg7oDkBuXLRqJlcqJqPdmb397qeUui6cub7CL4KxCZOtI4/w==" /> <div data-target="custom-scopes.customScopesModalDialogFlash"></div> <input type="hidden" id="custom_scope_id" name="custom_scope_id" data-target="custom-scopes.customScopesIdField"> <div class="form-group"> <label for="custom_scope_name">Name</label> <auto-check src="/search/custom_scopes/check_name" required only-validate-on-blur="false"> <input type="text" name="custom_scope_name" id="custom_scope_name" data-target="custom-scopes.customScopesNameField" class="form-control" autocomplete="off" placeholder="github-ruby" required maxlength="50"> <input type="hidden" data-csrf="true" value="lJ3UTDUk1TDguh5cXsM/pn5hHn2SjUfesNjDOSStp+F42zFipNolkfB+Ulva9LYNfdtRFHPPLvvPZS2JQRGbPg==" /> </auto-check> </div> <div class="form-group"> <label for="custom_scope_query">Query</label> <input type="text" name="custom_scope_query" id="custom_scope_query" data-target="custom-scopes.customScopesQueryField" class="form-control" autocomplete="off" placeholder="(repo:mona/a OR repo:mona/b) AND lang:python" required maxlength="500"> </div> <p class="text-small color-fg-muted"> To see all available qualifiers, see our <a class="Link--inTextBlock" href="https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax">documentation</a>. </p> </form> </div> <div data-target="custom-scopes.manageCustomScopesForm"> <div data-target="custom-scopes.list"></div> </div> </div> </scrollable-region> <div data-view-component="true" class="Overlay-footer Overlay-footer--alignEnd Overlay-footer--divided"> <button data-action="click:custom-scopes#customScopesCancel" type="button" data-view-component="true" class="btn"> Cancel </button> <button form="custom-scopes-dialog-form" data-action="click:custom-scopes#customScopesSubmit" data-target="custom-scopes.customScopesSubmitButton" type="submit" data-view-component="true" class="btn-primary btn"> Create saved search </button> </div> </dialog></dialog-helper> </custom-scopes> </div> </qbsearch-input> <div class="position-relative HeaderMenu-link-wrap d-lg-inline-block"> <a href="/login?return_to=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn" class="HeaderMenu-link HeaderMenu-link--sign-in HeaderMenu-button flex-shrink-0 no-underline d-none d-lg-inline-flex border border-lg-0 rounded rounded-lg-0 px-2 py-1" style="margin-left: 12px;" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="86bf682c744765eccec701778ffe232b4b7b30586a5923f8400d0277e9f92303" data-analytics-event="{&quot;category&quot;:&quot;Marketing nav&quot;,&quot;action&quot;:&quot;click to go to homepage&quot;,&quot;label&quot;:&quot;ref_page:Marketing;ref_cta:Sign in;ref_loc:Header&quot;}" > Sign in </a> </div> <a href="/signup?ref_cta=Sign+up&amp;ref_loc=header+logged+out&amp;ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&amp;source=header-repo&amp;source_repo=nitefood%2Fasn" class="HeaderMenu-link HeaderMenu-link--sign-up HeaderMenu-button flex-shrink-0 d-flex d-lg-inline-flex no-underline border color-border-default rounded px-2 py-1" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;site header menu&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;SIGN_UP&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="86bf682c744765eccec701778ffe232b4b7b30586a5923f8400d0277e9f92303" data-analytics-event="{&quot;category&quot;:&quot;Sign up&quot;,&quot;action&quot;:&quot;click to sign up for account&quot;,&quot;label&quot;:&quot;ref_page:/&lt;user-name&gt;/&lt;repo-name&gt;;ref_cta:Sign up;ref_loc:header logged out&quot;}" > Sign up </a> <button type="button" class="sr-only js-header-menu-focus-trap d-block d-lg-none">Reseting focus</button> </div> </div> </div> </div> </header> <div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span class="js-stale-session-flash-signed-in" hidden>You signed in with another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-signed-out" hidden>You signed out in another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <span class="js-stale-session-flash-switched" hidden>You switched accounts on another tab or window. <a class="Link--inTextBlock" href="">Reload</a> to refresh your session.</span> <button id="icon-button-cad3bcf3-d174-413e-b11c-fdcdab41cb0e" aria-labelledby="tooltip-720670fb-e64c-463e-9322-f654231731fa" type="button" data-view-component="true" class="Button Button--iconOnly Button--invisible Button--medium flash-close js-flash-close"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x Button-visual"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button><tool-tip id="tooltip-720670fb-e64c-463e-9322-f654231731fa" for="icon-button-cad3bcf3-d174-413e-b11c-fdcdab41cb0e" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Dismiss alert</tool-tip> </div> </div> <div id="start-of-content" class="show-on-focus"></div> <div id="js-flash-container" class="flash-container" data-turbo-replace> <template class="js-flash-template"> <div class="flash flash-full {{ className }}"> <div > <button autofocus class="flash-close js-flash-close" type="button" aria-label="Dismiss this message"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div aria-atomic="true" role="alert" class="js-flash-alert"> <div>{{ message }}</div> </div> </div> </div> </template> </div> <div class="application-main " data-commit-hovercards-enabled data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled data-project-hovercards-enabled > <div itemscope itemtype="http://schema.org/SoftwareSourceCode" class=""> <main id="js-repo-pjax-container" > <div id="repository-container-header" class="pt-3 hide-full-screen" style="background-color: var(--page-header-bgColor, var(--color-page-header-bg));" data-turbo-replace> <div class="d-flex flex-nowrap flex-justify-end mb-3 px-3 px-lg-5" style="gap: 1rem;"> <div class="flex-auto min-width-0 width-fit"> <div class=" d-flex flex-wrap flex-items-center wb-break-word f3 text-normal"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo color-fg-muted mr-2"> <path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path> </svg> <span class="author flex-self-stretch" itemprop="author"> <a class="url fn" rel="author" data-hovercard-type="user" data-hovercard-url="/users/nitefood/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/nitefood"> nitefood </a> </span> <span class="mx-1 flex-self-stretch color-fg-muted">/</span> <strong itemprop="name" class="mr-2 flex-self-stretch"> <a data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/nitefood/asn">asn</a> </strong> <span></span><span class="Label Label--secondary v-align-middle mr-1">Public</span> </div> </div> <div id="repository-details-container" class="flex-shrink-0" data-turbo-replace style="max-width: 70%;"> <ul class="pagehead-actions flex-shrink-0 d-none d-md-inline" style="padding: 2px 0;"> <li> <a href="/login?return_to=%2Fnitefood%2Fasn" rel="nofollow" id="repository-details-watch-button" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;notification subscription menu watch&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="79fabb074fd09d39b704f21f0b0af03273304b9ba9515d8e4279dfccc930ed32" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-6c15e429-9639-426d-b568-489c3a5ba104" for="repository-details-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </li> <li> <a icon="repo-forked" id="fork-button" href="/login?return_to=%2Fnitefood%2Fasn" rel="nofollow" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;repo details fork button&quot;,&quot;repository_id&quot;:281804533,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="cd181ee588db0de89fc440ea72e361c5ad4cc7cacc21fdbb35404865b60d5a3b" data-view-component="true" class="btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg>Fork <span id="repo-network-counter" data-pjax-replace="true" data-turbo-replace="true" title="167" data-view-component="true" class="Counter">167</span> </a> </li> <li> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fnitefood%2Fasn" rel="nofollow" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;star button&quot;,&quot;repository_id&quot;:281804533,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="95e729871e9fe5743edcd7877022b52315eb5c99ab665bdb6bd6a48eb32c3cf1" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> <span id="repo-stars-counter-star" aria-label="1482 users starred this repository" data-singular-suffix="user starred this repository" data-plural-suffix="users starred this repository" data-turbo-replace="true" title="1,482" data-view-component="true" class="Counter js-social-count">1.5k</span> </a></div> </li> </ul> </div> </div> <div id="responsive-meta-container" data-turbo-replace> <div class="d-block d-md-none mb-2 px-3 px-md-4 px-lg-5"> <p class="f4 mb-3 "> ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server </p> <h3 class="sr-only">License</h3> <div class="mb-2"> <a href="/nitefood/asn/blob/master/LICENSE" class="Link--muted" data-analytics-event="{&quot;category&quot;:&quot;Repository Overview&quot;,&quot;action&quot;:&quot;click&quot;,&quot;label&quot;:&quot;location:sidebar;file:license&quot;}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-law mr-2"> <path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path> </svg> MIT license </a> </div> <div class="mb-3"> <a class="Link--secondary no-underline mr-3" href="/nitefood/asn/stargazers"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star mr-1"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg> <span class="text-bold">1.5k</span> stars </a> <a class="Link--secondary no-underline mr-3" href="/nitefood/asn/forks"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-1"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg> <span class="text-bold">167</span> forks </a> <a class="Link--secondary no-underline mr-3 d-inline-block" href="/nitefood/asn/branches"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-branch mr-1"> <path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path> </svg> <span>Branches</span> </a> <a class="Link--secondary no-underline d-inline-block" href="/nitefood/asn/tags"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-tag mr-1"> <path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path> </svg> <span>Tags</span> </a> <a class="Link--secondary no-underline d-inline-block" href="/nitefood/asn/activity"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pulse mr-1"> <path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.751.751 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.751.751 0 0 1 6 2Z"></path> </svg> <span>Activity</span> </a> </div> <div class="d-flex flex-wrap gap-2"> <div class="flex-1"> <div data-view-component="true" class="BtnGroup d-flex"> <a href="/login?return_to=%2Fnitefood%2Fasn" rel="nofollow" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;star button&quot;,&quot;repository_id&quot;:281804533,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="95e729871e9fe5743edcd7877022b52315eb5c99ab665bdb6bd6a48eb32c3cf1" aria-label="You must be signed in to star a repository" data-view-component="true" class="tooltipped tooltipped-sw btn-sm btn btn-block"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star v-align-text-bottom d-inline-block mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg><span data-view-component="true" class="d-inline"> Star </span> </a></div> </div> <div class="flex-1"> <a href="/login?return_to=%2Fnitefood%2Fasn" rel="nofollow" id="files-overview-watch-button" data-hydro-click="{&quot;event_type&quot;:&quot;authentication.click&quot;,&quot;payload&quot;:{&quot;location_in_page&quot;:&quot;notification subscription menu watch&quot;,&quot;repository_id&quot;:null,&quot;auth_type&quot;:&quot;LOG_IN&quot;,&quot;originating_url&quot;:&quot;https://github.com/nitefood/asn&quot;,&quot;user_id&quot;:null}}" data-hydro-click-hmac="79fabb074fd09d39b704f21f0b0af03273304b9ba9515d8e4279dfccc930ed32" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn btn-block"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-bell mr-2"> <path d="M8 16a2 2 0 0 0 1.985-1.75c.017-.137-.097-.25-.235-.25h-3.5c-.138 0-.252.113-.235.25A2 2 0 0 0 8 16ZM3 5a5 5 0 0 1 10 0v2.947c0 .05.015.098.042.139l1.703 2.555A1.519 1.519 0 0 1 13.482 13H2.518a1.516 1.516 0 0 1-1.263-2.36l1.703-2.554A.255.255 0 0 0 3 7.947Zm5-3.5A3.5 3.5 0 0 0 4.5 5v2.947c0 .346-.102.683-.294.97l-1.703 2.556a.017.017 0 0 0-.003.01l.001.006c0 .002.002.004.004.006l.006.004.007.001h10.964l.007-.001.006-.004.004-.006.001-.007a.017.017 0 0 0-.003-.01l-1.703-2.554a1.745 1.745 0 0 1-.294-.97V5A3.5 3.5 0 0 0 8 1.5Z"></path> </svg>Notifications </a> <tool-tip id="tooltip-ecb7ccd1-c881-4e3a-943c-a7e86b0c86eb" for="files-overview-watch-button" popover="manual" data-direction="s" data-type="description" data-view-component="true" class="sr-only position-absolute">You must be signed in to change notification settings</tool-tip> </div> <span> </span> </div> </div> </div> <nav data-pjax="#js-repo-pjax-container" aria-label="Repository" data-view-component="true" class="js-repo-nav js-sidenav-container-pjax js-responsive-underlinenav overflow-hidden UnderlineNav px-3 px-md-4 px-lg-5"> <ul data-view-component="true" class="UnderlineNav-body list-style-none"> <li data-view-component="true" class="d-inline-flex"> <a id="code-tab" href="/nitefood/asn" data-tab-item="i0code-tab" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages repo_deployments repo_attestations /nitefood/asn" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g c" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Code&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" aria-current="page" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item selected"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code UnderlineNav-octicon d-none d-sm-inline"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> <span data-content="Code">Code</span> <span id="code-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="issues-tab" href="/nitefood/asn/issues" data-tab-item="i1issues-tab" data-selected-links="repo_issues repo_labels repo_milestones /nitefood/asn/issues" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g i" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Issues&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> <span data-content="Issues">Issues</span> <span id="issues-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="0" hidden="hidden" data-view-component="true" class="Counter">0</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="pull-requests-tab" href="/nitefood/asn/pulls" data-tab-item="i2pull-requests-tab" data-selected-links="repo_pulls checks /nitefood/asn/pulls" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g p" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Pull requests&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> <span data-content="Pull requests">Pull requests</span> <span id="pull-requests-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="0" hidden="hidden" data-view-component="true" class="Counter">0</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="discussions-tab" href="/nitefood/asn/discussions" data-tab-item="i3discussions-tab" data-selected-links="repo_discussions /nitefood/asn/discussions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g g" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Discussions&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> <span data-content="Discussions">Discussions</span> <span id="discussions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="actions-tab" href="/nitefood/asn/actions" data-tab-item="i4actions-tab" data-selected-links="repo_actions /nitefood/asn/actions" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g a" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Actions&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play UnderlineNav-octicon d-none d-sm-inline"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> <span data-content="Actions">Actions</span> <span id="actions-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="projects-tab" href="/nitefood/asn/projects" data-tab-item="i5projects-tab" data-selected-links="repo_projects new_repo_project repo_project /nitefood/asn/projects" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g b" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Projects&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-table UnderlineNav-octicon d-none d-sm-inline"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"></path> </svg> <span data-content="Projects">Projects</span> <span id="projects-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="0" hidden="hidden" data-view-component="true" class="Counter">0</span> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="security-tab" href="/nitefood/asn/security" data-tab-item="i6security-tab" data-selected-links="security overview alerts policy token_scanning code_scanning /nitefood/asn/security" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-hotkey="g s" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Security&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield UnderlineNav-octicon d-none d-sm-inline"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <span data-content="Security">Security</span> <include-fragment src="/nitefood/asn/security/overall-count" accept="text/fragment+html"></include-fragment> </a></li> <li data-view-component="true" class="d-inline-flex"> <a id="insights-tab" href="/nitefood/asn/pulse" data-tab-item="i7insights-tab" data-selected-links="repo_graphs repo_contributors dependency_graph dependabot_updates pulse people community /nitefood/asn/pulse" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" data-analytics-event="{&quot;category&quot;:&quot;Underline navbar&quot;,&quot;action&quot;:&quot;Click tab&quot;,&quot;label&quot;:&quot;Insights&quot;,&quot;target&quot;:&quot;UNDERLINE_NAV.TAB&quot;}" data-view-component="true" class="UnderlineNav-item no-wrap js-responsive-underlinenav-item js-selected-navigation-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph UnderlineNav-octicon d-none d-sm-inline"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> <span data-content="Insights">Insights</span> <span id="insights-repo-tab-count" data-pjax-replace="" data-turbo-replace="" title="Not available" data-view-component="true" class="Counter"></span> </a></li> </ul> <div style="visibility:hidden;" data-view-component="true" class="UnderlineNav-actions js-responsive-underlinenav-overflow position-absolute pr-3 pr-md-4 pr-lg-5 right-0"> <action-menu data-select-variant="none" data-view-component="true"> <focus-group direction="vertical" mnemonics retain> <button id="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-button" popovertarget="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-overlay" aria-controls="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-list" aria-haspopup="true" aria-labelledby="tooltip-fa9559bb-dcc6-45ee-bfab-6e1bda755f6d" type="button" data-view-component="true" class="Button Button--iconOnly Button--secondary Button--medium UnderlineNav-item"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-kebab-horizontal Button-visual"> <path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path> </svg> </button><tool-tip id="tooltip-fa9559bb-dcc6-45ee-bfab-6e1bda755f6d" for="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-button" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Additional navigation options</tool-tip> <anchored-position data-target="action-menu.overlay" id="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-overlay" anchor="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-button" align="start" side="outside-bottom" anchor-offset="normal" popover="auto" data-view-component="true"> <div data-view-component="true" class="Overlay Overlay--size-auto"> <div data-view-component="true" class="Overlay-body Overlay-body--paddingNone"> <action-list> <div data-view-component="true"> <ul aria-labelledby="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-button" id="action-menu-8b9ad7ca-1aff-4d04-85e0-a28bef512817-list" role="menu" data-view-component="true" class="ActionListWrap--inset ActionListWrap"> <li hidden="hidden" data-menu-item="i0code-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-d5e7cc5d-fb1b-4791-81e3-2b36c676d2aa" href="/nitefood/asn" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-code"> <path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Code </span> </a> </li> <li hidden="hidden" data-menu-item="i1issues-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-16217751-ed22-4e5e-841e-b691bde99017" href="/nitefood/asn/issues" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-issue-opened"> <path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Issues </span> </a> </li> <li hidden="hidden" data-menu-item="i2pull-requests-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-fd7b2b6e-7fbd-43d9-b51a-53bb7750160f" href="/nitefood/asn/pulls" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-git-pull-request"> <path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Pull requests </span> </a> </li> <li hidden="hidden" data-menu-item="i3discussions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-51956ad0-1658-4a9d-a6eb-5171cbcd754a" href="/nitefood/asn/discussions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-comment-discussion"> <path d="M1.75 1h8.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.458 1.458 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25v-5.5C0 1.784.784 1 1.75 1ZM1.5 2.75v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25Zm13 2a.25.25 0 0 0-.25-.25h-.5a.75.75 0 0 1 0-1.5h.5c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.458 1.458 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215l2.22 2.22v-2.19a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Discussions </span> </a> </li> <li hidden="hidden" data-menu-item="i4actions-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-b5d0f785-9e7f-49bf-b93a-741a4db08254" href="/nitefood/asn/actions" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-play"> <path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Actions </span> </a> </li> <li hidden="hidden" data-menu-item="i5projects-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-1cf522cf-b086-4895-8781-a366f3c27030" href="/nitefood/asn/projects" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-table"> <path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Projects </span> </a> </li> <li hidden="hidden" data-menu-item="i6security-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-0947f7c8-8a32-4aab-958c-c0df0c134b36" href="/nitefood/asn/security" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-shield"> <path d="M7.467.133a1.748 1.748 0 0 1 1.066 0l5.25 1.68A1.75 1.75 0 0 1 15 3.48V7c0 1.566-.32 3.182-1.303 4.682-.983 1.498-2.585 2.813-5.032 3.855a1.697 1.697 0 0 1-1.33 0c-2.447-1.042-4.049-2.357-5.032-3.855C1.32 10.182 1 8.566 1 7V3.48a1.75 1.75 0 0 1 1.217-1.667Zm.61 1.429a.25.25 0 0 0-.153 0l-5.25 1.68a.25.25 0 0 0-.174.238V7c0 1.358.275 2.666 1.057 3.86.784 1.194 2.121 2.34 4.366 3.297a.196.196 0 0 0 .154 0c2.245-.956 3.582-2.104 4.366-3.298C13.225 9.666 13.5 8.36 13.5 7V3.48a.251.251 0 0 0-.174-.237l-5.25-1.68ZM8.75 4.75v3a.75.75 0 0 1-1.5 0v-3a.75.75 0 0 1 1.5 0ZM9 10.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Security </span> </a> </li> <li hidden="hidden" data-menu-item="i7insights-tab" data-targets="action-list.items" role="none" data-view-component="true" class="ActionListItem"> <a tabindex="-1" id="item-1b93ddb3-acdd-4fed-b072-19d1bb214a14" href="/nitefood/asn/pulse" role="menuitem" data-view-component="true" class="ActionListContent ActionListContent--visual16"> <span class="ActionListItem-visual ActionListItem-visual--leading"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-graph"> <path d="M1.5 1.75V13.5h13.75a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1-.75-.75V1.75a.75.75 0 0 1 1.5 0Zm14.28 2.53-5.25 5.25a.75.75 0 0 1-1.06 0L7 7.06 4.28 9.78a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.25-3.25a.75.75 0 0 1 1.06 0L10 7.94l4.72-4.72a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"></path> </svg> </span> <span data-view-component="true" class="ActionListItem-label"> Insights </span> </a> </li> </ul> </div></action-list> </div> </div></anchored-position> </focus-group> </action-menu></div> </nav> </div> <turbo-frame id="repo-content-turbo-frame" target="_top" data-turbo-action="advance" class=""> <div id="repo-content-pjax-container" class="repository-content " > <h1 class='sr-only'>nitefood/asn</h1> <div class="clearfix container-xl px-md-4 px-lg-5 px-3"> <div> <div style="max-width: 100%" data-view-component="true" class="Layout Layout--flowRow-until-md react-repos-overview-margin Layout--sidebarPosition-end Layout--sidebarPosition-flowRow-end"> <div data-view-component="true" class="Layout-main"> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_dompurify_dist_purify_es_mjs-dd1d3ea6a436.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_tanstack_query-core_build_modern_queryObserver_js-node_modules_tanstack_-defd52-9743ca933872.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_aria-live_aria-live_ts-ui_packages_history_history_ts-ui_packages_promise-with-re-01dc80-b13b6c1d97b0.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_paths_index_ts-8a20a6d3af54.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_ref-selector_RefSelector_tsx-7496afc3784d.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_commit-attribution_index_ts-ui_packages_commit-checks-status_index_ts-ui_packages-762eaa-bac5b6fc3f70.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/ui_packages_code-view-shared_hooks_use-canonical-object_ts-ui_packages_code-view-shared_hooks-c2dbff-923a12b3d018.js"></script> <script crossorigin="anonymous" defer="defer" type="application/javascript" src="https://github.githubassets.com/assets/repos-overview-feed154a385e.js"></script> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-react.222503a9a3e08280cedb.module.css" /> <link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repos-overview.0ee7cac3ab511a65d9f9.module.css" /> <react-partial partial-name="repos-overview" data-ssr="true" data-attempted-ssr="true" > <script type="application/json" data-target="react-partial.embeddedData">{"props":{"initialPayload":{"allShortcutsEnabled":false,"path":"/","repo":{"id":281804533,"defaultBranch":"master","name":"asn","ownerLogin":"nitefood","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-07-22T23:33:12.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/24555810?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1739640445.0","canEdit":false,"refType":"branch","currentOid":"b7ca0e0e4375804b156c6ca345aa51749f719c8e"},"tree":{"items":[{"name":".github/workflows","path":".github/workflows","contentType":"directory","hasSimplifiedPath":true},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":"Dockerfile","path":"Dockerfile","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"asn","path":"asn","contentType":"file"},{"name":"asn.1","path":"asn.1","contentType":"file"},{"name":"cloudshell_bootstrap.sh","path":"cloudshell_bootstrap.sh","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":null,"totalCount":8,"showBranchInfobar":false},"fileTree":null,"fileTreeProcessingTime":null,"foldersToFetch":[],"treeExpanded":false,"symbolsExpanded":false,"isOverview":true,"overview":{"banners":{"shouldRecommendReadme":false,"isPersonalRepo":false,"showUseActionBanner":false,"actionSlug":null,"actionId":null,"showProtectBranchBanner":false,"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_repo","releasePath":"/nitefood/asn/releases/new?marketplace=true","showPublishActionBanner":false},"interactionLimitBanner":null,"showInvitationBanner":false,"inviterName":null,"actionsMigrationBannerInfo":{"releaseTags":[],"showImmutableActionsMigrationBanner":false,"initialMigrationStatus":null}},"codeButton":{"contactPath":"/contact","isEnterprise":false,"local":{"protocolInfo":{"httpAvailable":true,"sshAvailable":null,"httpUrl":"https://github.com/nitefood/asn.git","showCloneWarning":null,"sshUrl":null,"sshCertificatesRequired":null,"sshCertificatesAvailable":null,"ghCliUrl":"gh repo clone nitefood/asn","defaultProtocol":"http","newSshKeyUrl":"/settings/ssh/new","setProtocolPath":"/users/set_protocol"},"platformInfo":{"cloneUrl":"https://desktop.github.com","showVisualStudioCloneButton":false,"visualStudioCloneUrl":"https://windows.github.com","showXcodeCloneButton":false,"xcodeCloneUrl":"xcode://clone?repo=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn","zipballUrl":"/nitefood/asn/archive/refs/heads/master.zip"}},"newCodespacePath":"/codespaces/new?hide_repo_select=true\u0026repo=281804533"},"popovers":{"rename":null,"renamedParentRepo":null},"commitCount":"154","overviewFiles":[{"displayName":"README.md","repoName":"asn","refName":"master","path":"README.md","preferredFileType":"readme","tabName":"README","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eASN Lookup Tool and Traceroute Server\u003c/h1\u003e\u003ca id=\"user-content-asn-lookup-tool-and-traceroute-server\" class=\"anchor\" aria-label=\"Permalink: ASN Lookup Tool and Traceroute Server\" href=\"#asn-lookup-tool-and-traceroute-server\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://repology.org/project/asn/versions\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/d03b317b359ff66876cf703304f18536f9ebb3a8bae0e812afe0d114267ae0c8/68747470733a2f2f7265706f6c6f67792e6f72672f62616467652f766572746963616c2d616c6c7265706f732f61736e2e737667\" alt=\"Packaging status\" data-canonical-src=\"https://repology.org/badge/vertical-allrepos/asn.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eContainer support:\u003c/h4\u003e\u003ca id=\"user-content-container-support\" class=\"anchor\" aria-label=\"Permalink: Container support:\" href=\"#container-support\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"#running-the-script-from-a-container\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/c9a85f6869aa992f1500dd9d4d4bdff7d405605292ca152587394c1f92552d4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f636b65722d2532333064623765642e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d646f636b6572266c6f676f436f6c6f723d7768697465\" alt=\"Docker\" data-canonical-src=\"https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge\u0026amp;logo=docker\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#running-the-script-from-a-container\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/0803e71d7164cc4981c78ebdbc694b84c20800ca471c185caa101813ea58edc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f6f676c65436c6f75642d2532333432383546342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676f6f676c652d636c6f7564266c6f676f436f6c6f723d7768697465\" alt=\"Google Cloud\" data-canonical-src=\"https://img.shields.io/badge/GoogleCloud-%234285F4.svg?style=for-the-badge\u0026amp;logo=google-cloud\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOS support:\u003c/h4\u003e\u003ca id=\"user-content-os-support\" class=\"anchor\" aria-label=\"Permalink: OS support:\" href=\"#os-support\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/77e58a7962de20328a75e1eb4a03284368b619f9a7b2152c03308bea8ba71ccf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f44656269616e2d4437304135333f7374796c653d666f722d7468652d6261646765266c6f676f3d64656269616e266c6f676f436f6c6f723d7768697465\" alt=\"Debian\" data-canonical-src=\"https://img.shields.io/badge/Debian-D70A53?style=for-the-badge\u0026amp;logo=debian\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/dd44c065577f813a8d6c976fef88976f812eed4bfcfa20fa6b23ebb899a09531/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5562756e74752d4539353432303f7374796c653d666f722d7468652d6261646765266c6f676f3d7562756e7475266c6f676f436f6c6f723d7768697465\" alt=\"Ubuntu\" data-canonical-src=\"https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\u0026amp;logo=ubuntu\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/baef6b3f5a6ca926f918b4fe0f7f02b6790c1cd65435a7172199ac07668c487c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b616c692d3236384245453f7374796c653d666f722d7468652d6261646765266c6f676f3d6b616c696c696e7578266c6f676f436f6c6f723d7768697465\" alt=\"Kali\" data-canonical-src=\"https://img.shields.io/badge/Kali-268BEE?style=for-the-badge\u0026amp;logo=kalilinux\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/e725ba7dd3250e9e20090cd2b1acc4e4f3cc7f181c86050304a804438a7eacfa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63656e742532306f732d3030323236303f7374796c653d666f722d7468652d6261646765266c6f676f3d63656e746f73266c6f676f436f6c6f723d463046304630\" alt=\"Cent OS\" data-canonical-src=\"https://img.shields.io/badge/cent%20os-002260?style=for-the-badge\u0026amp;logo=centos\u0026amp;logoColor=F0F0F0\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/e9dab3e3c313f5fd0786b9be4210003fa462b4d79cae2be55d21f4bd29e89db4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5265642532304861742d4545303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d726564686174266c6f676f436f6c6f723d7768697465\" alt=\"Red Hat\" data-canonical-src=\"https://img.shields.io/badge/Red%20Hat-EE0000?style=for-the-badge\u0026amp;logo=redhat\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/439a2d5969486ed0610cdd360544947dfe8beb089b3c3d183e93ade540377a63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d526f636b792532304c696e75782d2532333130423938313f7374796c653d666f722d7468652d6261646765266c6f676f3d726f636b796c696e7578266c6f676f436f6c6f723d7768697465\" alt=\"Rocky Linux\" data-canonical-src=\"https://img.shields.io/badge/-Rocky%20Linux-%2310B981?style=for-the-badge\u0026amp;logo=rockylinux\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/19813fb067b1c96e62b8e5e017d60958bdcbce01d869f2d77dd490b0c6f4e635/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4665646f72612d3239343137323f7374796c653d666f722d7468652d6261646765266c6f676f3d6665646f7261266c6f676f436f6c6f723d7768697465\" alt=\"Fedora\" data-canonical-src=\"https://img.shields.io/badge/Fedora-294172?style=for-the-badge\u0026amp;logo=fedora\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/72f7521b72e8efa081ea337df1df1ad7ae2949e69da3fc9ab382bc1d6c94b5e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417263682532304c696e75782d3137393344313f6c6f676f3d617263682d6c696e7578266c6f676f436f6c6f723d666666267374796c653d666f722d7468652d6261646765\" alt=\"Arch\" data-canonical-src=\"https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux\u0026amp;logoColor=fff\u0026amp;style=for-the-badge\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/6ce19fc6c17500da64cd46e06e3e359b448520ac94e99a7b195d186a1838fbb1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616e6a61726f2d3335424635433f7374796c653d666f722d7468652d6261646765266c6f676f3d4d616e6a61726f266c6f676f436f6c6f723d7768697465\" alt=\"Manjaro\" data-canonical-src=\"https://img.shields.io/badge/Manjaro-35BF5C?style=for-the-badge\u0026amp;logo=Manjaro\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/862bdebea36a2bafe81cc9ace93b2b2f54b7f77d3516118dbb8d9297093c2e6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416c70696e655f4c696e75782d2532333044353937462e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d616c70696e652d6c696e7578266c6f676f436f6c6f723d7768697465\" alt=\"Alpine Linux\" data-canonical-src=\"https://img.shields.io/badge/Alpine_Linux-%230D597F.svg?style=for-the-badge\u0026amp;logo=alpine-linux\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/63f923bb259190b07a135fc25fd7f41ef31782ec710cb1baf2905e17eec99d88/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e535553452d3733424132353f6c6f676f3d6f70656e73757365266c6f676f436f6c6f723d666666267374796c653d666f722d7468652d6261646765\" alt=\"openSUSE\" data-canonical-src=\"https://img.shields.io/badge/openSUSE-73BA25?logo=opensuse\u0026amp;logoColor=fff\u0026amp;style=for-the-badge\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/b0e2a350c9fa3edb6514af086e22497c53d19870231d3cd6740059ff115d2063/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d467265654253442d2532333837303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d66726565627364266c6f676f436f6c6f723d7768697465\" alt=\"FreeBSD\" data-canonical-src=\"https://img.shields.io/badge/-FreeBSD-%23870000?style=for-the-badge\u0026amp;logo=freebsd\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/2dfd2370dda9643586f99163bc490fda679f500262c460c0ed0b3aba5cc1e69a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e49582d3532373743332e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d4e69784f53266c6f676f436f6c6f723d7768697465\" alt=\"Nix\" data-canonical-src=\"https://img.shields.io/badge/NIX-5277C3.svg?style=for-the-badge\u0026amp;logo=NixOS\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/04687ce3613669e12a6f991ece6c64a4e51067a44f041332d70c4f83a6141908/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61632532306f732d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d6d61636f73266c6f676f436f6c6f723d463046304630\" alt=\"macOS\" data-canonical-src=\"https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\u0026amp;logo=macos\u0026amp;logoColor=F0F0F0\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/1cc3ed014dbb3cc907789013096c44d0bc78875ee219d9455f619ff18059ac4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57696e646f77732d3030373844363f7374796c653d666f722d7468652d6261646765266c6f676f3d77696e646f7773266c6f676f436f6c6f723d7768697465\" alt=\"Windows\" data-canonical-src=\"https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\u0026amp;logo=windows\u0026amp;logoColor=white\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\n\u003ca href=\"#installation\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/e635b4861e2ce6b1eee90d8dbe1d28a5529d87f3ebf706fc023cae66a266de22/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d52617370626572727950692d4335314134413f7374796c653d666f722d7468652d6261646765266c6f676f3d5261737062657272792d5069\" alt=\"Raspberry Pi\" data-canonical-src=\"https://img.shields.io/badge/-RaspberryPi-C51A4A?style=for-the-badge\u0026amp;logo=Raspberry-Pi\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eTable of contents:\u003c/h3\u003e\u003ca id=\"user-content-table-of-contents\" class=\"anchor\" aria-label=\"Permalink: Table of contents:\" href=\"#table-of-contents\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"#description\"\u003eDescription\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#screenshots\"\u003eScreenshots\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#running-the-script-from-a-container\"\u003eRunning the script from a container\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003cem\u003eOptional: adding your \u003ca href=\"#api-tokens\"\u003eAPI tokens\u003c/a\u003e to improve functionalities\u003c/em\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#usage\"\u003eUsage (as a command line tool)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#running-lookups-from-the-browser\"\u003eUsage (as a lookup \u0026amp; traceroute server)\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#json-output-and-api-mode\"\u003eUsage (as a lookup API with JSON output)\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDescription\u003c/h2\u003e\u003ca id=\"user-content-description\" class=\"anchor\" aria-label=\"Permalink: Description\" href=\"#description\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eASN / RPKI validity / BGP stats / IPv4v6 / Prefix / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup tool / Web traceroute server.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThis script serves the purpose of having a quick OSINT \u003cstrong\u003ecommand line tool\u003c/strong\u003e at disposal when investigating network data, which can come in handy in incident response scenarios as well (with features such as \u003ca href=\"#bulk-geolocation-mode\"\u003ebulk geolocation\u003c/a\u003e and threat scoring).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIt can be used as a \u003cstrong\u003erecon tool\u003c/strong\u003e by querying Shodan for data about any type of target (CIDR blocks/URLs/single IPs/hostnames). This will quickly give the user a complete breakdown about open ports, known vulnerabilities, known software and hardware running on the target, and more - without ever sending a single packet to the target.\nJSON output of the results, multiple simultaneous targets and IP list file inputs and are also supported. Click \u003ca href=\"#shodan-scanning-recon-mode\"\u003ehere\u003c/a\u003e for more information about Shodan scanning mode.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIt can also be used as a \u003cstrong\u003eweb-based traceroute server\u003c/strong\u003e, by running it in listening mode and launching lookups and traces from a local or remote browser (via a bookmarklet or custom search engine) or terminal (via \u003ccode\u003ecurl\u003c/code\u003e, \u003ccode\u003eelinks\u003c/code\u003e or similar tools). Click \u003ca href=\"#running-lookups-from-the-browser\"\u003ehere\u003c/a\u003e for more information about server mode functionality.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eFurthermore, it can serve as a self-hosted lookup \u003cstrong\u003eAPI endpoint\u003c/strong\u003e and output JSON-formatted data while running in both interactive and server mode. Click \u003ca href=\"#json-output-and-api-mode\"\u003ehere\u003c/a\u003e for more information about API mode functionality.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eFeatures:\u003c/h4\u003e\u003ca id=\"user-content-features\" class=\"anchor\" aria-label=\"Permalink: Features:\" href=\"#features\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will lookup relevant Autonomous System information for any given AS number, including:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003cstrong\u003eOrganization name and RIR region\u003c/strong\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIXP Presence\u003c/strong\u003e (\u003cem\u003eInternet Exchange facilities where the AS is present\u003c/em\u003e)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eGlobal AS rank\u003c/strong\u003e (\u003cem\u003ederived from the size of its customer cone, number of peering relationships and more\u003c/em\u003e)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBGP statistics\u003c/strong\u003e (\u003cem\u003eneighbours count, originated v4/v6 prefix count\u003c/em\u003e)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBGP incident history\u003c/strong\u003e (number of \u003cem\u003eBGP hijacks\u003c/em\u003e and \u003cem\u003eroute leaks\u003c/em\u003e involving the target AS in the past 12 months, as a \u003cstrong\u003evictim\u003c/strong\u003e or a \u003cstrong\u003ehijacker\u003c/strong\u003e)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePeering relationships\u003c/strong\u003e separated by type (\u003cem\u003eupstream/downstream/uncertain\u003c/em\u003e), and sorted by observed \u003cem\u003epath count\u003c/em\u003e, to give more reliable results (so for instance, the first few upstream peers are most likely to be transits). Furthermore, a recap of \u003cem\u003etransits/peers/customers\u003c/em\u003e amount (per latest CAIDA data) is displayed.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAnnounced prefixes\u003c/strong\u003e aggregated to the most relevant less-specific \u003ccode\u003eINET(6)NUM\u003c/code\u003e object (actual \u003ca href=\"https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-database-documentation/rpsl-object-types/4-2-descriptions-of-primary-objects/4-2-4-description-of-the-inetnum-object\" rel=\"nofollow\"\u003eLIR allocation\u003c/a\u003e).\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform an \u003cstrong\u003eAS path trace\u003c/strong\u003e (using \u003ca href=\"https://github.com/traviscross/mtr\"\u003emtr\u003c/a\u003e and retrieving AS data from the results) for single IPs or DNS results, optionally reporting detailed data for each hop, such as RPKI ROA validity, organization/network name, geographic location, etc.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will detect \u003cstrong\u003eIXPs\u003c/strong\u003e (Internet Exchange Points) traversed during the trace, and highlight them for clarity.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will attempt to lookup all relevant \u003cstrong\u003eabuse contacts\u003c/strong\u003e for any given IP or prefix.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform \u003cstrong\u003eRPKI validity\u003c/strong\u003e lookups for every possible IP. Data is validated using the \u003ca href=\"https://stat.ripe.net/docs/data_api#rpki-validation\" rel=\"nofollow\"\u003eRIPEStat RPKI validation API\u003c/a\u003e. For path traces, the tool will match each hop's ASN/Prefix pair (retrieved from the Prefix Whois public server) with relevant published RPKI ROAs. In case of origin AS mismatch or unallowed more-specific prefixes, it will warn the user of a potential \u003cstrong\u003eroute leak / BGP hijack\u003c/strong\u003e along with the offending AS in the path (requires \u003ccode\u003e-d\u003c/code\u003e option, see below for usage info).\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003cem\u003eRead more about BGP hijacking \u003ca href=\"https://en.wikipedia.org/wiki/BGP_hijacking\" rel=\"nofollow\"\u003ehere\u003c/a\u003e.\u003c/em\u003e\u003c/li\u003e\n\u003cli\u003e\u003cem\u003eRead more about RPKI \u003ca href=\"https://en.wikipedia.org/wiki/Resource_Public_Key_Infrastructure\" rel=\"nofollow\"\u003ehere\u003c/a\u003e, \u003ca href=\"https://blog.cloudflare.com/rpki/\" rel=\"nofollow\"\u003ehere\u003c/a\u003e, or \u003ca href=\"https://www.ripe.net/manage-ips-and-asns/resource-management/certification\" rel=\"nofollow\"\u003ehere\u003c/a\u003e.\u003c/em\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform \u003cstrong\u003eIP geolocation\u003c/strong\u003e lookups according to the logic described \u003ca href=\"#geolocation\"\u003ebelow\u003c/a\u003e.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003egeolocation can be performed in \u003cstrong\u003ebulk mode\u003c/strong\u003e. See \u003ca href=\"#bulk-geolocation-mode\"\u003ehere\u003c/a\u003e for more info.\u003c/li\u003e\n\u003cli\u003ethe script can also \u003cstrong\u003emap all IPv4/IPv6 CIDR blocks\u003c/strong\u003e allocated to any given country, by querying data from Marcel Bischoff's \u003ca href=\"https://github.com/herrbischoff/country-ip-blocks\"\u003ecountry-ip-blocks\u003c/a\u003e repo. See \u003ca href=\"#mapping-the-ipv4v6-address-space-of-specific-countries\"\u003ebelow\u003c/a\u003e for more info.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform \u003cstrong\u003eIP reputation, noise classification\u003c/strong\u003e and in-depth \u003cstrong\u003ethreat analysis\u003c/strong\u003e reporting (especially useful when investigating foreign IPs from log files).\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform \u003cstrong\u003eIP fingerprinting\u003c/strong\u003e using Shodan's InternetDB API and report any known \u003cstrong\u003evulnerabilities\u003c/strong\u003e, \u003cstrong\u003eopen ports\u003c/strong\u003e and \u003cstrong\u003eservices/operating system/hardware\u003c/strong\u003e pertaining to target IPs and individual trace hops (detailed traces only).\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eDirectly querying Shodan for any type of targets (including CIDR blocks) is also possible. More information \u003ca href=\"#shodan-scanning-recon-mode\"\u003ehere\u003c/a\u003e about how to use the script as a recon tool.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt will perform \u003cstrong\u003eIP type identification\u003c/strong\u003e (\u003cem\u003eAnycast IP/Mobile network/Proxy host/Datacenter or hosting provider/IXP prefix\u003c/em\u003e) for target IPs and individual trace hops. Broad type classification comes from \u003ca href=\"https://ip-api.com\" rel=\"nofollow\"\u003eip-api\u003c/a\u003e, while detailed DC+region identification comes from \u003ca href=\"https://incolumitas.com/pages/Datacenter-IP-API/\" rel=\"nofollow\"\u003eincolumitas.com\u003c/a\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eIt will also identify \u003cstrong\u003ebogon\u003c/strong\u003e addresses being traversed and classify them according to the relevant RFC (Private address space/CGN space/Test address/link-local/reserved/etc.)\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt is possible to search by \u003cstrong\u003eorganization name\u003c/strong\u003e in order to retrieve a list of IPv4/6 network ranges related to a given company. A multiple choice menu will be presented if more than one organization matches the search query.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt is possible to search for \u003cstrong\u003eASNs matching a given name\u003c/strong\u003e, in order to map the ASNs for a given organization. The list will be enriched by each result's AS rank and useful tags highlighting the highest-ranking ASNs found.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIt is possible to quickly identify the \u003cstrong\u003etransit/upstream AS network(s)\u003c/strong\u003e for a given prefix, through analysis of observed BGP updates and ASPATHs.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003ethe tool will also inform the user when a prefix is likely coming from a large tier-1 or multihomed network.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eLookup data can be integrated by third party tools by choosing \u003cstrong\u003eJSON output\u003c/strong\u003e and parsing the results externally, turning the script into a lookup API endpoint.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eScreenshots for every lookup option are below.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe script uses the following services for data retrieval:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://team-cymru.com/community-services/ip-asn-mapping/\" rel=\"nofollow\"\u003eTeam Cymru\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://pwhois.org/\" rel=\"nofollow\"\u003eThe Prefix WhoIs Project\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.peeringdb.com/\" rel=\"nofollow\"\u003ePeeringDB\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://asrank.caida.org/\" rel=\"nofollow\"\u003eCAIDA ASRank\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://ifconfig.co/\" rel=\"nofollow\"\u003eifconfig.co\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.ipify.org/\" rel=\"nofollow\"\u003eipify\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://ipinfo.io\" rel=\"nofollow\"\u003eipinfo.io\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://stat.ripe.net/\" rel=\"nofollow\"\u003eRIPEStat\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://ipmap.ripe.net/\" rel=\"nofollow\"\u003eRIPE IPmap\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://ip-api.com/\" rel=\"nofollow\"\u003eip-api\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.stopforumspam.com/\" rel=\"nofollow\"\u003eStopForumSpam\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.ipqualityscore.com\" rel=\"nofollow\"\u003eIP Quality Score\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://radar.cloudflare.com/\" rel=\"nofollow\"\u003eCloudflare Radar\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://isc.sans.edu/\" rel=\"nofollow\"\u003eISC DSHIELD\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://greynoise.io\" rel=\"nofollow\"\u003eGreyNoise\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://www.shodan.io/\" rel=\"nofollow\"\u003eShodan\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://nvd.nist.gov/\" rel=\"nofollow\"\u003eNIST National Vulnerability Database\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://incolumitas.com/pages/Datacenter-IP-API/\" rel=\"nofollow\"\u003eIncolumitas.com\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://restcountries.com/\" rel=\"nofollow\"\u003eRestCountries\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003eMarcel Bischoff's \u003ca href=\"https://github.com/herrbischoff/country-ip-blocks\"\u003ecountry-ip-blocks\u003c/a\u003e repo\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eIt also provides hyperlinks (in \u003ca href=\"#running-lookups-from-the-browser\"\u003eserver\u003c/a\u003e mode) to the following external services when appropriate:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://bgp.he.net\" rel=\"nofollow\"\u003eHE.net\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://bgpview.io\" rel=\"nofollow\"\u003eBGPView\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://bgp.tools\" rel=\"nofollow\"\u003eBGPTools\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://ipinfo.io\" rel=\"nofollow\"\u003eipinfo.io\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://host.io\" rel=\"nofollow\"\u003eHost.io\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://radar.cloudflare.com/\" rel=\"nofollow\"\u003eCloudflare Radar\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eRequires Bash v4.2+. Tested on:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eLinux\u003c/li\u003e\n\u003cli\u003eFreeBSD\u003c/li\u003e\n\u003cli\u003eWindows (WSL2, Cygwin)\u003c/li\u003e\n\u003cli\u003eMacOS \u003cem\u003e(thanks \u003ca href=\"https://github.com/Antonio-Prado\"\u003eAntonio Prado\u003c/a\u003e and Alessandro Barisone)\u003c/em\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eScreenshots\u003c/h2\u003e\u003ca id=\"user-content-screenshots\" class=\"anchor\" aria-label=\"Permalink: Screenshots\" href=\"#screenshots\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eGeneric usage\u003c/h3\u003e\u003ca id=\"user-content-generic-usage\" class=\"anchor\" aria-label=\"Permalink: Generic usage\" href=\"#generic-usage\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eIPv4 lookup with IP type detection (Anycast, Hosting/DC) and classification as good\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285046567-81def31a-e080-4b01-9aa2-25b979062963.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDY1NjctODFkZWYzMWEtZTA4MC00YjAxLTlhYTItMjViOTc5MDYyOTYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0M2E3YTYxODIzMzFjNjZjZDM0YWJlMGUxZTVkNTE4ZDUxNDA3MGZjODZlOTE4YTk5OGJkNTFmOGRjOWM5YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.geEfd6Vj_jI-EU6N2x0gjU_uj3xGLSWO78Ce9sQiv3Y\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285046567-81def31a-e080-4b01-9aa2-25b979062963.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDY1NjctODFkZWYzMWEtZTA4MC00YjAxLTlhYTItMjViOTc5MDYyOTYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0M2E3YTYxODIzMzFjNjZjZDM0YWJlMGUxZTVkNTE4ZDUxNDA3MGZjODZlOTE4YTk5OGJkNTFmOGRjOWM5YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.geEfd6Vj_jI-EU6N2x0gjU_uj3xGLSWO78Ce9sQiv3Y\" alt=\"ipv4lookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eIPv4 lookup (bad reputation IP) with threat analysis/scoring, CPE/CVE identification and open ports reporting\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285047222-302dc69f-7026-4f41-afe6-e24c4d0a514a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDcyMjItMzAyZGM2OWYtNzAyNi00ZjQxLWFmZTYtZTI0YzRkMGE1MTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiMWM5OWI2MThjNjM0MmYzYTA5YzUyYjFmZjdhNjViNzViZTgxMTcxZjM2ZWM5NGVlMzI0ZDA4ZjAzN2I5OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8FUDiMeg1xbVryKN0umfpd-UEjvex9odR38__WYcbuY\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285047222-302dc69f-7026-4f41-afe6-e24c4d0a514a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDcyMjItMzAyZGM2OWYtNzAyNi00ZjQxLWFmZTYtZTI0YzRkMGE1MTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiMWM5OWI2MThjNjM0MmYzYTA5YzUyYjFmZjdhNjViNzViZTgxMTcxZjM2ZWM5NGVlMzI0ZDA4ZjAzN2I5OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8FUDiMeg1xbVryKN0umfpd-UEjvex9odR38__WYcbuY\" alt=\"ipv4badlookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eIP fingerprinting with advanced datacenter+region identification, known vulnerabilities affecting the target and honeypot identification according to Shodan data\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/159185618-fa20f45c-91b4-45b4-ad82-02becc648fa5.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/159185618-fa20f45c-91b4-45b4-ad82-02becc648fa5.png\" alt=\"\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eIPv6 lookup\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/159185780-44a1af6e-7aa9-4f52-b04c-55a314b2a5e3.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/159185780-44a1af6e-7aa9-4f52-b04c-55a314b2a5e3.png\" alt=\"ipv6lookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eAutonomous system number lookup with AS ranking, operational region, BGP stats and incident history, peering and prefix information\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/359848676-9ae33fe8-6069-48e6-a4a3-ea74d2f351e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zNTk4NDg2NzYtOWFlMzNmZTgtNjA2OS00OGU2LWE0YTMtZWE3NGQyZjM1MWUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NjMxMmQ4YzA1OWI4ZDczYWM3NjFkNzkxOGM2ZDM2MDJjMDcyZmIzYjQwNzA3YTQwYzAxNmEwMDQ2NjBkNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eMddJvaqYxPj1baZ5O2fmToKIY3kBKWzddeTtK8KKPE\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/359848676-9ae33fe8-6069-48e6-a4a3-ea74d2f351e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zNTk4NDg2NzYtOWFlMzNmZTgtNjA2OS00OGU2LWE0YTMtZWE3NGQyZjM1MWUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NjMxMmQ4YzA1OWI4ZDczYWM3NjFkNzkxOGM2ZDM2MDJjMDcyZmIzYjQwNzA3YTQwYzAxNmEwMDQ2NjBkNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eMddJvaqYxPj1baZ5O2fmToKIY3kBKWzddeTtK8KKPE\" alt=\"asnlookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eHostname/URL lookup\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285048065-f6c71594-d38a-4c7c-9142-5aa1e203f3fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDgwNjUtZjZjNzE1OTQtZDM4YS00YzdjLTkxNDItNWFhMWUyMDNmM2ZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2OWM2N2NkYmFjOGJiNWIxMWQ5MTAxNWJhZmRkOGE0YjU2MWRlMTIzYjQ3Yjk0ZGNkN2VjNDc2ZWI2MTM1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Q3u0-HlNREskXscrHbfBGSNViFALaKDERfdnjLA4eY\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285048065-f6c71594-d38a-4c7c-9142-5aa1e203f3fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDgwNjUtZjZjNzE1OTQtZDM4YS00YzdjLTkxNDItNWFhMWUyMDNmM2ZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2OWM2N2NkYmFjOGJiNWIxMWQ5MTAxNWJhZmRkOGE0YjU2MWRlMTIzYjQ3Yjk0ZGNkN2VjNDc2ZWI2MTM1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Q3u0-HlNREskXscrHbfBGSNViFALaKDERfdnjLA4eY\" alt=\"hostnamelookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eAS Path tracing\u003c/h3\u003e\u003ca id=\"user-content-as-path-tracing\" class=\"anchor\" aria-label=\"Permalink: AS Path tracing\" href=\"#as-path-tracing\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eASPath trace to \u003ca href=\"http://www.github.com\"\u003ewww.github.com\u003c/a\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285051028-8dfa68ba-de39-47f4-96d3-618210197e70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTEwMjgtOGRmYTY4YmEtZGUzOS00N2Y0LTk2ZDMtNjE4MjEwMTk3ZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmMjlhYTk3ZWIwYTU4MDNiNWFkMTU3YWZkZWExMDNlZWEzYTU5MzIyYjUzOGRlNDIwNGZlODEwZDhmZTNkOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wUaFARZ1xj-dx_YXIO5f_xLauKojR7Gj4O6tVEpR05E\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285051028-8dfa68ba-de39-47f4-96d3-618210197e70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTEwMjgtOGRmYTY4YmEtZGUzOS00N2Y0LTk2ZDMtNjE4MjEwMTk3ZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmMjlhYTk3ZWIwYTU4MDNiNWFkMTU3YWZkZWExMDNlZWEzYTU5MzIyYjUzOGRlNDIwNGZlODEwZDhmZTNkOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wUaFARZ1xj-dx_YXIO5f_xLauKojR7Gj4O6tVEpR05E\" alt=\"pathtrace\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eASPath trace traversing both an unannounced PNI prefix (FASTWEB-\u0026gt;SWISSCOM at hop 11) and an IXP (SWISSCOM -\u0026gt; RCN through Equinix Ashburn at hop 16)\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/100301579-b4d00c00-2f98-11eb-82c5-047c190ffcd6.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/100301579-b4d00c00-2f98-11eb-82c5-047c190ffcd6.png\" alt=\"pathtrace_pni_ixp\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eDetailed ASPath trace to 8.8.8.8 traversing the Milan Internet Exchange (MIX) IXP peering LAN at hop 6\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/117335188-28a50780-ae9b-11eb-98d9-cfd3bc2f1295.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/117335188-28a50780-ae9b-11eb-98d9-cfd3bc2f1295.png\" alt=\"detailed_pathtrace\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eNetwork search by organization\u003c/h3\u003e\u003ca id=\"user-content-network-search-by-organization\" class=\"anchor\" aria-label=\"Permalink: Network search by organization\" href=\"#network-search-by-organization\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eOrganization search for \"github\"\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/99845076-5b20a980-2b74-11eb-9312-986867034cc9.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/99845076-5b20a980-2b74-11eb-9312-986867034cc9.png\" alt=\"search_by_org\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eShodan scanning\u003c/h3\u003e\u003ca id=\"user-content-shodan-scanning\" class=\"anchor\" aria-label=\"Permalink: Shodan scanning\" href=\"#shodan-scanning\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eScanning for Shodan information for a list of IPs\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/307993947-550d3004-9cbc-404e-b74c-9248a2d0bb0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zMDc5OTM5NDctNTUwZDMwMDQtOWNiYy00MDRlLWI3NGMtOTI0OGEyZDBiYjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2ZWU3NTlhMzQ3NGYyOTI2MzgyY2QwOGVlZjAyMmRiYmQ0YjZiMTgxYmYyZjA2NWM0ZTVmNDQzOWU0NjI1NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Pw2wsyKpnCHpILy2TWmAf02mOM_i4UrBMcKcY2onQ_o\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/307993947-550d3004-9cbc-404e-b74c-9248a2d0bb0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zMDc5OTM5NDctNTUwZDMwMDQtOWNiYy00MDRlLWI3NGMtOTI0OGEyZDBiYjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2ZWU3NTlhMzQ3NGYyOTI2MzgyY2QwOGVlZjAyMmRiYmQ0YjZiMTgxYmYyZjA2NWM0ZTVmNDQzOWU0NjI1NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Pw2wsyKpnCHpILy2TWmAf02mOM_i4UrBMcKcY2onQ_o\" alt=\"shodanscan\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCountry IPv4/IPv6 CIDR mapping\u003c/h3\u003e\u003ca id=\"user-content-country-ipv4ipv6-cidr-mapping\" class=\"anchor\" aria-label=\"Permalink: Country IPv4/IPv6 CIDR mapping\" href=\"#country-ipv4ipv6-cidr-mapping\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eDisplaying a list of CIDR blocks allocated to Jamaica\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/163061676-bae440c6-ff0d-478e-8799-98a927600964.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/163061676-bae440c6-ff0d-478e-8799-98a927600964.png\" alt=\"country_cidr\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBulk Geolocation / country stats\u003c/h3\u003e\u003ca id=\"user-content-bulk-geolocation--country-stats\" class=\"anchor\" aria-label=\"Permalink: Bulk Geolocation / country stats\" href=\"#bulk-geolocation--country-stats\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003ePerforming bulk extraction, geolocation and stats for IPs from a logfile\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/162656545-11db3759-6741-44e0-bcfb-f3542482415f.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/162656545-11db3759-6741-44e0-bcfb-f3542482415f.png\" alt=\"bulk_geolocation\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSuggested ASNs search\u003c/h3\u003e\u003ca id=\"user-content-suggested-asns-search\" class=\"anchor\" aria-label=\"Permalink: Suggested ASNs search\" href=\"#suggested-asns-search\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eSuggested ASNs (and respective AS rankings) for \"google\"\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285049369-c8bd8cab-9894-4886-94b5-bfd6bb0b9d8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDkzNjktYzhiZDhjYWItOTg5NC00ODg2LTk0YjUtYmZkNmJiMGI5ZDhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzYjU0NjYwZjRjMjI1Y2JkOWYxMGE3YTA3MmUzYTkzYmQ0NzA2MWJjYjkxNjVmNjYwNDYyMGY3MjFjMWMyNTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4B1tx8cC-UfL6P7ADeXyKx3g1mxshXQdLi3L3l2bGrQ\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285049369-c8bd8cab-9894-4886-94b5-bfd6bb0b9d8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDkzNjktYzhiZDhjYWItOTg5NC00ODg2LTk0YjUtYmZkNmJiMGI5ZDhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzYjU0NjYwZjRjMjI1Y2JkOWYxMGE3YTA3MmUzYTkzYmQ0NzA2MWJjYjkxNjVmNjYwNDYyMGY3MjFjMWMyNTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4B1tx8cC-UfL6P7ADeXyKx3g1mxshXQdLi3L3l2bGrQ\" alt=\"asnsuggest\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eTransit/Upstream lookup\u003c/h3\u003e\u003ca id=\"user-content-transitupstream-lookup\" class=\"anchor\" aria-label=\"Permalink: Transit/Upstream lookup\" href=\"#transitupstream-lookup\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eA large tier-1 network (\u003cstrong\u003eCOMCAST\u003c/strong\u003e, AS7922) prefix is reachable through multiple other tier-1 networks like \u003cstrong\u003eCOGENT\u003c/strong\u003e (AS174), \u003cstrong\u003eLEVEL3\u003c/strong\u003e (AS3356) etc. - likely through settlement-free peering rather than BGP transit:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/285054817-4a6a00d9-7a8c-4765-a4d6-ea99aa516200.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTQ4MTctNGE2YTAwZDktN2E4Yy00NzY1LWE0ZDYtZWE5OWFhNTE2MjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMTgzMDA5OTE5NzNjOGU3MjYyM2NiN2VmNDVkMmI2NDM4NTAxYzllMGEwNTFjOGU4NmY0ZGI0NWYyNTBhMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MnFH6hs6lZ4EfYomrFtyCS2WXwI-COtTWF8EEHQqsOM\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/285054817-4a6a00d9-7a8c-4765-a4d6-ea99aa516200.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTQ4MTctNGE2YTAwZDktN2E4Yy00NzY1LWE0ZDYtZWE5OWFhNTE2MjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMTgzMDA5OTE5NzNjOGU3MjYyM2NiN2VmNDVkMmI2NDM4NTAxYzllMGEwNTFjOGU4NmY0ZGI0NWYyNTBhMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MnFH6hs6lZ4EfYomrFtyCS2WXwI-COtTWF8EEHQqsOM\" alt=\"upstreamfinder_tier1_network\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eTransit identification for a multihomed AS (\u003cstrong\u003eAS30036\u003c/strong\u003e announces this prefix to \u003cstrong\u003eHurricane\u003c/strong\u003e and \u003cstrong\u003eGTT\u003c/strong\u003e in a balanced way):\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/237801244-6c036a97-83f8-4c37-9ebd-2717c2d53507.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDEyNDQtNmMwMzZhOTctODNmOC00YzM3LTllYmQtMjcxN2MyZDUzNTA3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0ZjQ4OTMwN2U5ZmIwNDdjMzkxZDNkNTllMzZmNzEzY2M2ZjU3MjM2OGQ3YmI3MmM2OTVkODMxYjY2MmQ3NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pTZru4asW6sidNqIAWMALG6VCvmtQ8lBvQaJ9SoDVY4\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/237801244-6c036a97-83f8-4c37-9ebd-2717c2d53507.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDEyNDQtNmMwMzZhOTctODNmOC00YzM3LTllYmQtMjcxN2MyZDUzNTA3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0ZjQ4OTMwN2U5ZmIwNDdjMzkxZDNkNTllMzZmNzEzY2M2ZjU3MjM2OGQ3YmI3MmM2OTVkODMxYjY2MmQ3NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pTZru4asW6sidNqIAWMALG6VCvmtQ8lBvQaJ9SoDVY4\" alt=\"upstreamfinder_multihoming\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003ePreferred transit identification - \u003cstrong\u003eChinese UNICOM AS\u003c/strong\u003e is a large network, but likely prefers Russian \u003cstrong\u003eTRANSTELECOM\u003c/strong\u003e (AS20485) transit over \u003cstrong\u003eTELIA\u003c/strong\u003e (AS1299), \u003cstrong\u003eHURRICANE\u003c/strong\u003e (AS6939), \u003cstrong\u003eGTT\u003c/strong\u003e (AS3257) and others:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer\" href=\"https://private-user-images.githubusercontent.com/24555810/237800413-dbb64ecc-394a-4fbd-8607-5b7f6955b340.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDA0MTMtZGJiNjRlY2MtMzk0YS00ZmJkLTg2MDctNWI3ZjY5NTViMzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMzQyNDM3ZDAzNGY4OWEyMmFjNDc2OGY0MTBkYThmMzkyMzU0ZWMwYmMyMzMyNWYxOTExZjFjZmMyNmNkYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F4vJVvZqHs61NkXkOC2mOFihJSO_rG_CbmR-YxQhnvY\"\u003e\u003cimg src=\"https://private-user-images.githubusercontent.com/24555810/237800413-dbb64ecc-394a-4fbd-8607-5b7f6955b340.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDA0MTMtZGJiNjRlY2MtMzk0YS00ZmJkLTg2MDctNWI3ZjY5NTViMzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMzQyNDM3ZDAzNGY4OWEyMmFjNDc2OGY0MTBkYThmMzkyMzU0ZWMwYmMyMzMyNWYxOTExZjFjZmMyNmNkYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F4vJVvZqHs61NkXkOC2mOFihJSO_rG_CbmR-YxQhnvY\" alt=\"upstreamfinder_preferred_transit\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRunning the script from a container\u003c/h2\u003e\u003ca id=\"user-content-running-the-script-from-a-container\" class=\"anchor\" aria-label=\"Permalink: Running the script from a container\" href=\"#running-the-script-from-a-container\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eTo run the script without installing it locally, you have the following options:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eDocker\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/33Fraise33\"\u003eGianni Stubbe\u003c/a\u003e, \u003ca href=\"https://github.com/anarcat\"\u003eanarcat\u003c/a\u003e, \u003ca href=\"https://github.com/fcolista\"\u003eFrancesco Colista\u003c/a\u003e, \u003ca href=\"https://github.com/arbal\"\u003earbal\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: the Docker image runs by default in server mode, if no parameters are given. This is equivalent to running the tool as \u003ccode\u003easn -l ::\u003c/code\u003e (run server, bind to all interfaces - this is necessary to expose the server port to the host machine). You can run the server with different \u003ca href=\"#syntax\"\u003eoptions\u003c/a\u003e by explicitly passing \u003ccode\u003e-l [options]\u003c/code\u003e. It's also possible to pass an \u003ca href=\"#ip-reputation-api-token-ipqualityscore\"\u003eIpQualityScore\u003c/a\u003e, \u003ca href=\"#geolocation-api-token-ipinfoio\"\u003eipinfo.io\u003c/a\u003e and/or \u003ca href=\"#bgp-hijack-and-route-leak-incidents-cloudflare-radar\"\u003eCloudflare\u003c/a\u003e API token (both client and server runs) by setting, respectively, the \u003ccode\u003eIQS_TOKEN\u003c/code\u003e, \u003ccode\u003eIPINFO_TOKEN\u003c/code\u003e and \u003ccode\u003eCLOUDFLARE_TOKEN\u003c/code\u003e environment variables (examples below) in the container.\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eUsage examples:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eStart server: \u003ccode\u003edocker run -it -p 49200:49200 nitefood/asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eClient mode: \u003ccode\u003edocker run -it nitefood/asn 1.1.1.1\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eSupply an IQS token: \u003ccode\u003edocker run -it -e IQS_TOKEN=\"xxx\" nitefood/asn [...]\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eSupply multiple tokens: \u003ccode\u003edocker run -it -e IQS_TOKEN=\"xxx\" -e IPINFO_TOKEN=\"yyy\" -e CLOUDFLARE_TOKEN=\"zzz\" nitefood/asn [...]\u003c/code\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eGoogle Cloud Shell\u003c/strong\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: server mode \u003cstrong\u003eis supported\u003c/strong\u003e out of the box in Cloud Shell, just follow the \u003cstrong\u003ebookmarklet\u003c/strong\u003e link that will be shown at server launch to access the VM for remote lookups.\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003e1.\u003c/strong\u003e Clone the repository in Cloud Shell by clicking the following button:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://shell.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/nitefood/asn\u0026amp;ephemeral=true\u0026amp;show=terminal\" rel=\"nofollow\"\u003e\u003cimg src=\"https://camo.githubusercontent.com/198b1d237c4023111c3f163552130daf552a0a684ea7a8ed1adc98c9b7f59659/68747470733a2f2f677374617469632e636f6d2f636c6f75647373682f696d616765732f6f70656e2d62746e2e737667\" alt=\"Open in Cloud Shell\" data-canonical-src=\"https://gstatic.com/cloudssh/images/open-btn.svg\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003e2.\u003c/strong\u003e Prepare the GCP environment by launching \u003ccode\u003e./cloudshell_bootstrap.sh\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003e3.\u003c/strong\u003e \u003cem\u003e(OPTIONAL)\u003c/em\u003e Input your \u003ca href=\"#api-tokens\"\u003eAPI tokens\u003c/a\u003e when requested to enable full script features\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eInstallation\u003c/h2\u003e\u003ca id=\"user-content-installation\" class=\"anchor\" aria-label=\"Permalink: Installation\" href=\"#installation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis script requires \u003cstrong\u003eBASH v4.2\u003c/strong\u003e or later. You can check your version by running from your shell:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"bash -c 'echo $BASH_VERSION'\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ebash -c 'echo $BASH_VERSION'\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eAfter installation, you can use the script by running the \u003ccode\u003easn\u003c/code\u003e command.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eMethod 1: Install prerequisites + manual download\u003c/h3\u003e\u003ca id=\"user-content-method-1-install-prerequisites--manual-download\" class=\"anchor\" aria-label=\"Permalink: Method 1: Install prerequisites + manual download\" href=\"#method-1-install-prerequisites--manual-download\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: this method is \u003cstrong\u003erecommended\u003c/strong\u003e as it will always get you the \u003cstrong\u003elatest version\u003c/strong\u003e of the script.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eSTEP 1. Install prerequisite packages\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cp dir=\"auto\"\u003eSome packages are required for full functionality:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eDebian 10 / Ubuntu 20.04 (or newer):\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap ncat aha\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eapt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap ncat aha\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eDebian 9 / Ubuntu 18.04 (or older):\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap git gcc make \u0026amp;\u0026amp; \\\ngit clone https://github.com/theZiz/aha.git \u0026amp;\u0026amp; \\\nmake install -C aha/\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eapt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap git gcc make \u0026amp;\u0026amp; \\\ngit clone https://github.com/theZiz/aha.git \u0026amp;\u0026amp; \\\nmake install -C aha/\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eCentOS / RHEL / Rocky Linux 9:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"dnf -y install epel-release \u0026amp;\u0026amp; \\\ndnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ednf -y install epel-release \u0026amp;\u0026amp; \\\ndnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eCentOS / RHEL / Rocky Linux 8:\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/robert-scheck\"\u003eRobert Scheck\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"dnf -y install epel-release 'dnf-command(copr)' \u0026amp;\u0026amp; \\\ndnf -y copr enable robert/ipcalc \u0026amp;\u0026amp; \\\ndnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ednf -y install epel-release 'dnf-command(copr)' \u0026amp;\u0026amp; \\\ndnf -y copr enable robert/ipcalc \u0026amp;\u0026amp; \\\ndnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eCentOS / RHEL 7:\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/robert-scheck\"\u003eRobert Scheck\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"yum -y install epel-release yum-plugin-copr \u0026amp;\u0026amp; \\\nyum -y copr enable robert/ipcalc \u0026amp;\u0026amp; \\\nyum -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr \u0026amp;\u0026amp; \\\nhash -d ipcalc\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eyum -y install epel-release yum-plugin-copr \u0026amp;\u0026amp; \\\nyum -y copr enable robert/ipcalc \u0026amp;\u0026amp; \\\nyum -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr \u0026amp;\u0026amp; \\\nhash -d ipcalc\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eFedora:\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ednf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eopenSUSE Leap 15.5 (or newer), openSUSE Tumbleweed\u003c/strong\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"zypper in -y curl whois bind-utils mtr jq nmap ncat ipcalc aha grepcidr\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ezypper in -y curl whois bind-utils mtr jq nmap ncat ipcalc aha grepcidr\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eFreeBSD\u003c/strong\u003e:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"env ASSUME_ALWAYS_YES=YES pkg install bash coreutils curl whois mtr jq ipcalc grepcidr nmap aha\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eenv ASSUME_ALWAYS_YES=YES pkg install bash coreutils curl whois mtr jq ipcalc grepcidr nmap aha\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eWindows\u003c/strong\u003e:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eusing \u003ca href=\"https://docs.microsoft.com/en-us/windows/wsl/about\" rel=\"nofollow\"\u003eWSL2\u003c/a\u003e (recommended):\u003c/strong\u003e\nInstall Windows Subsystem for Linux (v2) by following Microsoft's \u003ca href=\"https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps\" rel=\"nofollow\"\u003eguide\u003c/a\u003e. On step 6, choose one of the Linux distributions listed above (Ubuntu 20.04 LTS is recommended).\nOnce your WSL2 system is up and running, open a Linux terminal and follow the prerequisite installation instructions above for your distribution of choice.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote for WSL2 users: Check \u003ca href=\"https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/\" rel=\"nofollow\"\u003ethis\u003c/a\u003e page for details on how to activate \u003cstrong\u003esystemd\u003c/strong\u003e if you plan to install the \u003ca href=\"#optional-installing-the-asn-server-as-a-system-service\"\u003easn service\u003c/a\u003e.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eusing \u003ca href=\"https://cygwin.com/index.html\" rel=\"nofollow\"\u003eCygwin\u003c/a\u003e:\u003c/strong\u003e\nMost of the prerequisite packages listed above for \u003cem\u003eDebian 10 / Ubuntu 20.04 (or newer)\u003c/em\u003e are obtainable directly with Cygwin's own Setup wizard (or through scripts like \u003cem\u003eapt-cyg\u003c/em\u003e). You will still have to manually compile (or find a suitable third-party precompiled binary) the \u003cem\u003emtr\u003c/em\u003e, \u003cem\u003egrepcidr\u003c/em\u003e and \u003cem\u003eaha\u003c/em\u003e tools. Instructions on how to do so can be found directly on the respective projects homepages.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eSTEP 2. Script download and installation\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cp dir=\"auto\"\u003eAfterwards, to install the \u003cstrong\u003easn\u003c/strong\u003e script from your shell to \u003cstrong\u003e/usr/bin\u003c/strong\u003e:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003ecurl \"https://raw.githubusercontent.com/nitefood/asn/master/asn\" \u0026gt; /usr/bin/asn \u0026amp;\u0026amp; chmod 0755 /usr/bin/asn\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eMethod 2: Installing a packaged version of the script\u003c/h3\u003e\u003ca id=\"user-content-method-2-installing-a-packaged-version-of-the-script\" class=\"anchor\" aria-label=\"Permalink: Method 2: Installing a packaged version of the script\" href=\"#method-2-installing-a-packaged-version-of-the-script\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: packages may not reflect the latest version, check \u003ca href=\"https://repology.org/project/asn/versions\" rel=\"nofollow\"\u003eRepology\u003c/a\u003e first.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003ePackaged versions of the tool are available for the following distributions:\u003c/p\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eDistribution list\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eDebian-based:\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/odaydebian\"\u003eMarcos Rodrigues de Carvalho\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eDebian 13 / Sid\u003c/em\u003e\u003cbr\u003e\n\u003cem\u003eUbuntu 24.04 (or newer)\u003c/em\u003e\u003cbr\u003e\n\u003cem\u003eKali (rolling)\u003c/em\u003e\u003cbr\u003e\n\u003cem\u003eRaspbian (testing)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"sudo apt update \u0026amp;\u0026amp; sudo apt install asn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003esudo apt update \u0026amp;\u0026amp; sudo apt install asn\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eManjaro / Arch Linux:\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/worty\"\u003eWorty\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"yay -S asn-git\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eyay -S asn-git\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eAlpine Linux 3.18 (or newer)\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/fcolista\"\u003eFrancesco Colista\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.19/community asn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eapk add -X https://dl-cdn.alpinelinux.org/alpine/v3.19/community asn\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eNixOS\u003c/strong\u003e \u003cem\u003e(thanks \u003ca href=\"https://github.com/devhell\"\u003edevhell\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003ePackage \u003ca href=\"https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/as/asn\"\u003ehere\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003cstrong\u003eMacOS\u003c/strong\u003e \u003cem\u003e(using \u003ca href=\"https://formulae.brew.sh/formula/asn\" rel=\"nofollow\"\u003eHomebrew\u003c/a\u003e, thanks \u003ca href=\"https://github.com/filippovitale\"\u003efilippovitale\u003c/a\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"brew install asn\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003ebrew install asn\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote for MacOS users:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eHomebrew has a \u003ca href=\"https://github.com/Homebrew/homebrew-core/issues/35085#issuecomment-447184214\" data-hovercard-type=\"issue\" data-hovercard-url=\"/Homebrew/homebrew-core/issues/35085/hovercard\"\u003epolicy\u003c/a\u003e not to install any binary with the \u003cstrong\u003esetuid\u003c/strong\u003e bit, and mtr (or actually, the mtr-packet helper binary that comes with it) requires to elevate to root to perform traces (good explanations for this can be found \u003ca href=\"https://github.com/traviscross/mtr/issues/204#issuecomment-723961118\" data-hovercard-type=\"issue\" data-hovercard-url=\"/traviscross/mtr/issues/204/hovercard\"\u003ehere\u003c/a\u003e and \u003ca href=\"https://github.com/traviscross/mtr/blob/master/SECURITY\"\u003ehere\u003c/a\u003e). If mtr (and therefore \u003ccode\u003easn\u003c/code\u003e) traces are not working on your system, you should either run \u003ccode\u003easn\u003c/code\u003e as root using \u003cstrong\u003esudo\u003c/strong\u003e, or set the proper SUID permission bit on the mtr (or better, on the mtr-packet) binary.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003e(Optional)\u003c/em\u003e Installing the \u003cem\u003easn server\u003c/em\u003e as a system service\u003c/h3\u003e\u003ca id=\"user-content-optional-installing-the-asn-server-as-a-system-service\" class=\"anchor\" aria-label=\"Permalink: (Optional) Installing the asn server as a system service\" href=\"#optional-installing-the-asn-server-as-a-system-service\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: this step is optional, and these instructions are only for \u003cstrong\u003esystemd\u003c/strong\u003e-based Linux systems (most current major distributions).\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003eTo control the \u003cstrong\u003easn server\u003c/strong\u003e with utilities like \u003cem\u003esystemctl\u003c/em\u003e and \u003cem\u003eservice\u003c/em\u003e, and to enable it to automatically start at boot, follow these steps:\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003ecreate a new file called \u003ccode\u003e/etc/systemd/system/asn.service\u003c/code\u003e with the following content (make sure you edit the \u003cem\u003eExecStart\u003c/em\u003e line to match your installation path and desired startup options):\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"[Unit]\nDescription=ASN lookup and traceroute server\nAfter=network.target\nStartLimitIntervalSec=0\n\n[Service]\nType=simple\nRestart=always\nRestartSec=1\nUser=nobody\nExecStart=/usr/bin/asn -l ::\n\n[Install]\nWantedBy=multi-user.target\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003e[Unit]\nDescription=ASN lookup and traceroute server\nAfter=network.target\nStartLimitIntervalSec=0\n\n[Service]\nType=simple\nRestart=always\nRestartSec=1\nUser=nobody\nExecStart=/usr/bin/asn -l ::\n\n[Install]\nWantedBy=multi-user.target\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003col start=\"2\" dir=\"auto\"\u003e\n\u003cli\u003eEnable the \u003cem\u003eCAP_NET_RAW\u003c/em\u003e capability for the mtr-packet binary:\n\u003ccode\u003esetcap cap_net_raw+ep $(which mtr-packet)\u003c/code\u003e\n\u003cem\u003eExplanation: this will allow mtr-packet to create raw sockets (and thus perform traces) when launched as an unprivileged user (we're setting up the service to run as user nobody for added security), without the requirement of the setuid-root bit and without having to invoke mtr as root. A thorough explanation for this can be found \u003ca href=\"https://github.com/traviscross/mtr/blob/master/SECURITY\"\u003ehere\u003c/a\u003e.\u003c/em\u003e\u003c/li\u003e\n\u003cli\u003eNow you can refer to standard systemd utilities to perform service operations:\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eTo start the service: \u003ccode\u003esystemctl start asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eTo stop the service: \u003ccode\u003esystemctl stop asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eTo check its status and latest logs: \u003ccode\u003esystemctl status asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eTo follow its logging in real time: \u003ccode\u003ejournalctl -f -u asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eTo start the service automatically on boot: \u003ccode\u003esystemctl enable asn\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eTo disable automatic start on boot: \u003ccode\u003esystemctl disable asn\u003c/code\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eAPI tokens\u003c/h2\u003e\u003ca id=\"user-content-api-tokens\" class=\"anchor\" aria-label=\"Permalink: API tokens\" href=\"#api-tokens\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe script can be configured to make use of your API tokens to enhance its functionalities.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe currently supported API tokens are:\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eGeolocation API token (ipinfo.io)\u003c/h3\u003e\u003ca id=\"user-content-geolocation-api-token-ipinfoio\" class=\"anchor\" aria-label=\"Permalink: Geolocation API token (ipinfo.io)\" href=\"#geolocation-api-token-ipinfoio\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eGeolocation API token details\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cp dir=\"auto\"\u003eThe geolocation provider of choice for single lookups (i.e. when not running bulk geolocation queries with the \u003ccode\u003e-g\u003c/code\u003e option) is \u003cstrong\u003eipinfo.io\u003c/strong\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eBy default, the script uses the free (no API key) tier that supports up to \u003cstrong\u003e1,000\u003c/strong\u003e geolocation requests per day. In order to boost this limit (for free) to \u003cstrong\u003e50,000\u003c/strong\u003e requests per month, an API key token is required.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn order to obtain an API token, after \u003ca href=\"https://ipinfo.io/signup\" rel=\"nofollow\"\u003esigning up\u003c/a\u003e, the API token can be found in the \u003ca href=\"https://ipinfo.io/account/token\" rel=\"nofollow\"\u003etoken section\u003c/a\u003e of your reserved area. Once copied, the token should be written to one of the following files (parsed in that order):\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e$HOME/.asn/ipinfo_token\u003c/code\u003e or\n\u003ccode\u003e/etc/asn/ipinfo_token\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003e/etc\u003c/code\u003e-based file should be used when running asn in \u003cstrong\u003eserver mode\u003c/strong\u003e. The \u003ccode\u003e$HOME\u003c/code\u003e-based file takes precedence if both files exist, and is ideal for \u003cstrong\u003euser mode\u003c/strong\u003e (that is, running \u003ccode\u003easn\u003c/code\u003e interactively from the command line).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn order to do so, you can use the following command:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eUser mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"$HOME/.asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"$HOME/.asn/ipinfo_token\" \u0026amp;\u0026amp; chmod -R 600 \"$HOME/.asn/\"\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eServer mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"/etc/asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"/etc/asn/ipinfo_token\" \u0026amp;\u0026amp; chmod -R 700 \"/etc/asn/\" \u0026amp;\u0026amp; chown -R nobody /etc/asn/\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eEither way, \u003ccode\u003easn\u003c/code\u003e will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the ipinfo.io API.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eIP reputation API token (IPQualityScore)\u003c/h3\u003e\u003ca id=\"user-content-ip-reputation-api-token-ipqualityscore\" class=\"anchor\" aria-label=\"Permalink: IP reputation API token (IPQualityScore)\" href=\"#ip-reputation-api-token-ipqualityscore\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eIP reputation API token details\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cp dir=\"auto\"\u003eThe script will perform first-level IPv4/v6 reputation lookups using \u003ca href=\"https://www.stopforumspam.com/\" rel=\"nofollow\"\u003eStopForumSpam\u003c/a\u003e, and in case of a match it will perform a second-level, in-depth threat analysis for targets and trace hops using the \u003ca href=\"https://www.ipqualityscore.com/\" rel=\"nofollow\"\u003eIPQualityScore\u003c/a\u003e API. The StopForumSpam API is free and requires no sign-up, and the service aggregates a \u003ca href=\"https://www.stopforumspam.com/contributors\" rel=\"nofollow\"\u003ehuge\u003c/a\u003e amount of blacklist feeds.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eStill, in order to use the IPQualityScore API for in-depth threat reporting, it's necessary to \u003ca href=\"https://www.ipqualityscore.com/create-account\" rel=\"nofollow\"\u003esign up\u003c/a\u003e for their service (it's free) and get an API token (it will be emailed to you on sign-up), which will entitle you to 5000 free lookups per month.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eOnce obtained, the api token should be written to one of the following files (parsed in that order):\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e$HOME/.asn/iqs_token\u003c/code\u003e or\n\u003ccode\u003e/etc/asn/iqs_token\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003e/etc\u003c/code\u003e-based file should be used when running asn in \u003cstrong\u003eserver mode\u003c/strong\u003e. The \u003ccode\u003e$HOME\u003c/code\u003e-based file takes precedence if both files exist, and is ideal for \u003cstrong\u003euser mode\u003c/strong\u003e (that is, running \u003ccode\u003easn\u003c/code\u003e interactively from the command line).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn order to do so, you can use the following command:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eUser mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"$HOME/.asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"$HOME/.asn/iqs_token\" \u0026amp;\u0026amp; chmod -R 600 \"$HOME/.asn/\"\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eServer mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"/etc/asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"/etc/asn/iqs_token\" \u0026amp;\u0026amp; chmod -R 700 \"/etc/asn/\" \u0026amp;\u0026amp; chown -R nobody /etc/asn/\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eEither way, \u003ccode\u003easn\u003c/code\u003e will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the IPQualityScore API.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eNote:\u003c/strong\u003e\u003c/em\u003e\n\u003cem\u003eIPQualityScore is not queried by default for every target, but only for targets that get flagged as BAD by StopForumSpam. It's possible to override this behavior (and force IQS lookup for every target) by setting the \u003ccode\u003eIQS_ALWAYS_QUERY\u003c/code\u003e parameter to \u003ccode\u003etrue\u003c/code\u003e in the \u003ca href=\"#preferences-file-homeasnrc\"\u003epreferences file\u003c/a\u003e. It is also possible to specify \u003ca href=\"https://www.ipqualityscore.com/documentation/proxy-detection/overview\" rel=\"nofollow\"\u003ecustom query settings\u003c/a\u003e through the \u003ccode\u003eIQS_CUSTOM_SETTINGS\u003c/code\u003e parameter.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBGP hijack and route leak incidents (Cloudflare Radar)\u003c/h3\u003e\u003ca id=\"user-content-bgp-hijack-and-route-leak-incidents-cloudflare-radar\" class=\"anchor\" aria-label=\"Permalink: BGP hijack and route leak incidents (Cloudflare Radar)\" href=\"#bgp-hijack-and-route-leak-incidents-cloudflare-radar\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003cb\u003eCloudflare token details\u003c/b\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cp dir=\"auto\"\u003eWhen this token is available, an additional lookup will be enabled for \u003cstrong\u003eautonomous system\u003c/strong\u003e targets, in order to enumerate the BGP incidents (both \u003cstrong\u003eBGP hijacks\u003c/strong\u003e and \u003cstrong\u003eBGP route leaks\u003c/strong\u003e) involving the target ASN.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe script will use the \u003ca href=\"https://radar.cloudflare.com/\" rel=\"nofollow\"\u003eCloudfare Radar\u003c/a\u003e API to retrieve the amount of incidents involving the target ASN in the past 12 months. Additionally, it will report how many incidents saw the target ASN as a \u003cstrong\u003ehijacker\u003c/strong\u003e or as a \u003cstrong\u003evictim\u003c/strong\u003e.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe Cloudflare Radar API is \u003cstrong\u003efree\u003c/strong\u003e to use, but requires a registration. The steps are:\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://dash.cloudflare.com/sign-up\" rel=\"nofollow\"\u003eSign up\u003c/a\u003e for a free Cloudflare account and \u003cstrong\u003evalidate your email\u003c/strong\u003e\u003c/li\u003e\n\u003cli\u003eFrom the \u003ca href=\"https://dash.cloudflare.com/profile/api-tokens/\" rel=\"nofollow\"\u003eCloudflare dashboard\u003c/a\u003e, go to \u003cstrong\u003eMy Profile \u0026gt; API Tokens\u003c/strong\u003e.\u003c/li\u003e\n\u003cli\u003eSelect \u003cstrong\u003eCreate Token\u003c/strong\u003e\u003c/li\u003e\n\u003cli\u003eChoose the \"\u003cem\u003eRead Cloudflare Radar data\u003c/em\u003e\" template\u003c/li\u003e\n\u003cli\u003eClick \u003cstrong\u003eContinue to summary\u003c/strong\u003e (the default values are fine)\u003c/li\u003e\n\u003cli\u003eClick \u003cstrong\u003eCreate token\u003c/strong\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp dir=\"auto\"\u003eOnce obtained, the api token should be written to one of the following files (parsed in that order):\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e$HOME/.asn/cloudflare_token\u003c/code\u003e or\n\u003ccode\u003e/etc/asn/cloudflare_token\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe \u003ccode\u003e/etc\u003c/code\u003e-based file should be used when running asn in \u003cstrong\u003eserver mode\u003c/strong\u003e. The \u003ccode\u003e$HOME\u003c/code\u003e-based file takes precedence if both files exist, and is ideal for \u003cstrong\u003euser mode\u003c/strong\u003e (that is, running \u003ccode\u003easn\u003c/code\u003e interactively from the command line).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIn order to do so, you can use the following command:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eUser mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"$HOME/.asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"$HOME/.asn/cloudflare_token\" \u0026amp;\u0026amp; chmod -R 600 \"$HOME/.asn/\"\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eServer mode:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eTOKEN=\"\u0026lt;your_token_here\u0026gt;\"; mkdir \"/etc/asn/\" \u0026amp;\u0026amp; echo \"$TOKEN\" \u0026gt; \"/etc/asn/cloudflare_token\" \u0026amp;\u0026amp; chmod -R 700 \"/etc/asn/\" \u0026amp;\u0026amp; chown -R nobody /etc/asn/\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eEither way, \u003ccode\u003easn\u003c/code\u003e will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the Cloudflare Radar API.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUsage\u003c/h2\u003e\u003ca id=\"user-content-usage\" class=\"anchor\" aria-label=\"Permalink: Usage\" href=\"#usage\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eSyntax\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-syntax\" class=\"anchor\" aria-label=\"Permalink: Syntax\" href=\"#syntax\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn [OPTIONS] [TARGET]\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn [-v] -l [SERVER OPTIONS]\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ewhere \u003ccode\u003eTARGET\u003c/code\u003e can be one of the following:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003cstrong\u003eAS number\u003c/strong\u003e -- lookup matching ASN and BGP announcements/neighbours data. Supports \"as123\" and \"123\" formats (case insensitive)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIPv4/IPv6/Prefix\u003c/strong\u003e -- lookup matching route(4/6), IP reputation and ASN data\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eHostname\u003c/strong\u003e -- resolve the host and lookup data (same as IPv4/IPv6 lookup. Supports multiple IPs - e.g. DNS RR)\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eURL\u003c/strong\u003e -- extract hostname/IP from the URL and lookup relative data. Supports any protocol prefix, non-standard ports and \u003ca href=\"https://en.wikipedia.org/wiki/Basic_access_authentication#URL_encoding\" rel=\"nofollow\"\u003eprepended credentials\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eOrganization name\u003c/strong\u003e -- search by company name and lookup network ranges exported by (or related to) the company\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eOptions:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-t\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eenables lookup and path tracing for targets \u003cstrong\u003e(this is the default behavior)\u003c/strong\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eMTR_TRACING=true\u003c/code\u003e (default: \u003ccode\u003etrue\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-d\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eenables detailed trace mode (more info below)\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eDETAILED_TRACE=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-n\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003edisables path tracing and only outputs lookup info \u003cem\u003e(for IP targets)\u003c/em\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003edisables additional INETNUM/origin lookups \u003cem\u003e(for AS targets)\u003c/em\u003e\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eMTR_TRACING=false\u003c/code\u003e (default: \u003ccode\u003etrue\u003c/code\u003e), \u003ccode\u003eADDITIONAL_INETNUM_LOOKUP=false\u003c/code\u003e (default: \u003ccode\u003etrue\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-s\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eLaunch a Shodan InternetDB scan for the target(s). Supports multiple targets,\nmixed target types (IP/hostname/CIDR/URL) and piping from stdin.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-o\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eforces a Search-By-Organization lookup and skip all target identification checks\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-a\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eenable \u003cem\u003eASN suggestion mode\u003c/em\u003e. This will search for all ASNs matching a given name.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-u\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eenable \u003cem\u003eTransit/Upstream lookup mode\u003c/em\u003e. This will inspect BGP updates and ASPATHs for the TARGET address/prefix and identify possible transit/upstream autonomous systems.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-c\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eenable \u003cem\u003eCountry CIDR mode\u003c/em\u003e. This will output all IPv4/v6 CIDR blocks allocated to the specified country.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-g\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eenable \u003cem\u003eBulk Geolocation mode\u003c/em\u003e. This will extract all IPv4/v6 addresses from the input, geolocate them and draw some stats.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-l\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eLaunch the script in \u003cem\u003eserver mode\u003c/em\u003e. See \u003cstrong\u003eServer Options\u003c/strong\u003e below\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-j\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eenables compact JSON output. Useful for feeding the output into other tools (like \u003ccode\u003ejq\u003c/code\u003e or other parsers), or storing the lookup results.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eJSON_OUTPUT=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-J\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eenables pretty-printed JSON output.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eJSON_PRETTY=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-m\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eenables monochrome mode (disables all colors).\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eMONOCHROME_MODE=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-v\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eEnable debug messages (will display all URLs being queried to help identify external API slowdowns). In client mode, \u003ccode\u003easn\u003c/code\u003e will log all output (external calls and their response data) to the location defined by \u003ccode\u003e$ASN_LOGFILE\u003c/code\u003e \u003cem\u003e(by default the logfile can be found at \u003ccode\u003e$HOME/asndebug.log\u003c/code\u003e)\u003c/em\u003e.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eASN_DEBUG=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-h\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eShow usage information.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eServer Options:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eBIND_ADDRESS\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eIP address (v4/v6) to bind the listening server to (e.g. \u003ccode\u003easn -l 0.0.0.0\u003c/code\u003e)\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eDEFAULT_SERVER_BINDADDR_v4=\"\u0026lt;IPv4address\u0026gt;\"\u003c/code\u003e (default: \u003ccode\u003e\"127.0.0.1\"\u003c/code\u003e) and \u003ccode\u003eDEFAULT_SERVER_BINDADDR_v6=\"\u0026lt;IPv6address\u0026gt;\"\u003c/code\u003e (default: \u003ccode\u003e\"::1\"\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eBIND_PORT\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eTCP Port to bind the listening server to (e.g. \u003ccode\u003easn -l 12345\u003c/code\u003e)\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eDEFAULT_SERVER_BINDPORT=\"\u0026lt;port\u0026gt;\"\u003c/code\u003e (default: \u003ccode\u003e\"49200\"\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eBIND_ADDRESS BIND_PORT\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eIP address and port to bind the listening server to (e.g. \u003ccode\u003easn -l ::1 12345\u003c/code\u003e)\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e-v\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eEnable verbose output and debug messages in server mode\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e.asnrc option equivalent: \u003ccode\u003eASN_DEBUG=true\u003c/code\u003e (default: \u003ccode\u003efalse\u003c/code\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e--allow host[,host,...]\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eAllow only given hosts to connect to the server\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e--allowfile file\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eA file of hosts allowed to connect to the server\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e--deny host[,host,...]\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eDeny given hosts from connecting to the server\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e--denyfile file\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eA file of hosts denied from connecting to the server\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003e--max-conns \u0026lt;n\u0026gt;\u003c/code\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe maximum number of simultaneous connections accepted by the server. 100 is the default.\u003c/li\u003e\n\u003c/ul\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: Every option in server mode (after\u003c/em\u003e \u003ccode\u003e-l\u003c/code\u003e\u003cem\u003e) is passed directly to the ncat listener.\u003c/em\u003e \u003cem\u003eRefer to\u003c/em\u003e \u003ccode\u003eman ncat\u003c/code\u003e \u003cem\u003efor more details on the available commands.\u003c/em\u003e\n\u003cem\u003eUnless specified, the default IP:PORT values of \u003cstrong\u003e127.0.0.1:49200\u003c/strong\u003e (for IPv4) or \u003cstrong\u003e[::1]:49200\u003c/strong\u003e (for IPv6) will be used (e.g.\u003c/em\u003e \u003ccode\u003easn -l\u003c/code\u003e\u003cem\u003e)\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eDefault behavior:\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-default-behavior\" class=\"anchor\" aria-label=\"Permalink: Default behavior:\" href=\"#default-behavior\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will attempt to automatically identify the \u003ccode\u003eTARGET\u003c/code\u003e type, if invoked with \u003ccode\u003e-t\u003c/code\u003e, \u003ccode\u003e-n\u003c/code\u003e, \u003ccode\u003e-d\u003c/code\u003e or without options,\u003c/li\u003e\n\u003cli\u003eAS path tracing is \u003cstrong\u003eenabled by default\u003c/strong\u003e for all lookups involving an IP or hostname. In case of multiple IP results, the script will trace the first IP, with a preference for IPv6 if possible on the user's host.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003ePreferences file (\u003ccode\u003e$HOME/.asnrc\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-preferences-file-homeasnrc\" class=\"anchor\" aria-label=\"Permalink: Preferences file ($HOME/.asnrc)\" href=\"#preferences-file-homeasnrc\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eOptions defaults can be overridden by creating a file called \u003ccode\u003e.asnrc\u003c/code\u003e in the user's \u003cstrong\u003ehome directory\u003c/strong\u003e.\nThe following values are the defaults. Any (or all) of them can be specified in the settings file and adjusted to the user's preference:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"ASN_LOGFILE=\u0026quot;$HOME/asndebug.log\u0026quot;\nMTR_TRACING=true\nADDITIONAL_INETNUM_LOOKUP=true\nDETAILED_TRACE=false\nMTR_ROUNDS=5\nMAX_CONCURRENT_SHODAN_REQUESTS=10\nSHODAN_SHOW_TOP_N=5\nMONOCHROME_MODE=false\nASN_DEBUG=false\nJSON_OUTPUT=false\nJSON_PRETTY=false\nDEFAULT_SERVER_BINDADDR_v4=\u0026quot;127.0.0.1\u0026quot;\nDEFAULT_SERVER_BINDADDR_v6=\u0026quot;::1\u0026quot;\nDEFAULT_SERVER_BINDPORT=\u0026quot;49200\u0026quot;\nIQS_ALWAYS_QUERY=false\nIQS_CUSTOM_SETTINGS=\u0026quot;\u0026quot;\"\u003e\u003cpre\u003eASN_LOGFILE=\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-smi\"\u003e$HOME\u003c/span\u003e/asndebug.log\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\nMTR_TRACING=true\nADDITIONAL_INETNUM_LOOKUP=true\nDETAILED_TRACE=false\nMTR_ROUNDS=5\nMAX_CONCURRENT_SHODAN_REQUESTS=10\nSHODAN_SHOW_TOP_N=5\nMONOCHROME_MODE=false\nASN_DEBUG=false\nJSON_OUTPUT=false\nJSON_PRETTY=false\nDEFAULT_SERVER_BINDADDR_v4=\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e127.0.0.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\nDEFAULT_SERVER_BINDADDR_v6=\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e::1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\nDEFAULT_SERVER_BINDPORT=\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e49200\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\nIQS_ALWAYS_QUERY=false\nIQS_CUSTOM_SETTINGS=\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eDetailed mode (\u003ccode\u003e-d\u003c/code\u003e | \u003ccode\u003eDETAILED_TRACE=true\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-detailed-mode--d--detailed_tracetrue\" class=\"anchor\" aria-label=\"Permalink: Detailed mode (-d | DETAILED_TRACE=true)\" href=\"#detailed-mode--d--detailed_tracetrue\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eDetailed hop info reporting and RPKI validation can be turned on by passing the \u003ccode\u003e[-d|--detailed]\u003c/code\u003e command line switch. This will enable querying the public \u003ca href=\"https://pwhois.org/server.who\" rel=\"nofollow\"\u003epWhois server\u003c/a\u003e and the \u003ca href=\"https://stat.ripe.net/docs/data_api#rpki-validation\" rel=\"nofollow\"\u003eRIPEStat RPKI validation API\u003c/a\u003e for every hop in the mtr trace. Relevant info will be displayed as a \"tree\" below the hop data, in addition to Team Cymru's server output (which only reports the AS name that the organization originating the prefix gave to its autonomous system number). This can be useful to figure out more details regarding the organization's name, the prefix' intended designation, and even (to a certain extent) its geographical scope.\nFurthermore, this will enable a warning whenever RPKI validation fails for one of the hops in the trace, indicating which AS in the path is wrongly announcing (as per current pWhois data) the hop prefix, indicating a potential route leak or BGP hijacking incident.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eOrganization search (\u003ccode\u003e-o\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-organization-search--o\" class=\"anchor\" aria-label=\"Permalink: Organization search (-o)\" href=\"#organization-search--o\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will try to figure out if the input is an Organization name (i.e. if it doesn't look like an IP address, an AS number or a hostname).\nIn order to force an organization search (for example for Orgs containing \u003ccode\u003e.\u003c/code\u003e in their name), pass the \u003ccode\u003e[-o|--organization]\u003c/code\u003e command line switch.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eASN suggest (\u003ccode\u003e-a\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-asn-suggest--a\" class=\"anchor\" aria-label=\"Permalink: ASN suggest (-a)\" href=\"#asn-suggest--a\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will try to find ASNs matching the given search string, using the RIPEStat API. This mode can be used to map all the autonomous systems related to a given company.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eUpstream/transit identification (\u003ccode\u003e-u\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-upstreamtransit-identification--u\" class=\"anchor\" aria-label=\"Permalink: Upstream/transit identification (-u)\" href=\"#upstreamtransit-identification--u\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will inspect BGP updates for the given IP (v4/v6) and identify the likelihood of the upstream autonomous system(s) being transit(s) for the origin AS. A probability of the upstreams being transits will be inferred by the amount of times the upstream AS appears in the observed ASPATHs towards the target IP, in comparison to other BGP peers. The script will also inform the user if the prefix is being simultaneously announced to multiple upstreams (e.g. in case of BGP multihoming, tier-1 prefixes, anycast addresses, etc.). JSON mode is supported.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eServer mode (\u003ccode\u003e-l\u003c/code\u003e)\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-server-mode--l\" class=\"anchor\" aria-label=\"Permalink: Server mode (-l)\" href=\"#server-mode--l\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will start up a webserver allowing the user to run remote lookups and traceroutes directly from the browser.\nThe web server is actually an \u003ca href=\"https://nmap.org/ncat/\" rel=\"nofollow\"\u003encat\u003c/a\u003e listener waiting for requests, responding to browsers querying through the HTTP protocol. This interface makes for a straightforward integration into user workflow and no need to download any client-side tools.\nBy simply using a Javascript \u003ca href=\"https://en.wikipedia.org/wiki/Bookmarklet\" rel=\"nofollow\"\u003ebookmarklet\u003c/a\u003e or custom \u003ca href=\"https://www.howtogeek.com/114176/how-to-easily-create-search-plugins-add-any-search-engine-to-your-browser/\" rel=\"nofollow\"\u003esearch engine\u003c/a\u003e, it will be possible to launch remote traces and lookups without ever leaving the browser.\nRefer to the \u003ca href=\"#running-lookups-from-the-browser\"\u003ethis section\u003c/a\u003e for more information.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eNotes\u003c/h2\u003e\u003ca id=\"user-content-notes\" class=\"anchor\" aria-label=\"Permalink: Notes\" href=\"#notes\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eOrganization data, IP Reputation, noise classification and IP fingerprinting\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-organization-data-ip-reputation-noise-classification-and-ip-fingerprinting\" class=\"anchor\" aria-label=\"Permalink: Organization data, IP Reputation, noise classification and IP fingerprinting\" href=\"#organization-data-ip-reputation-noise-classification-and-ip-fingerprinting\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eOrganization data is taken from pWhois\u003c/li\u003e\n\u003cli\u003eIP reputation data is taken from StopForumSpam and IpQualityScore\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003eReputation is also enriched with IP \u003cem\u003enoise\u003c/em\u003e classification (addresses that have been observed scanning the Internet, and very likely to appear in your logs), taken from \u003ca href=\"https://greynoise.io\" rel=\"nofollow\"\u003eGreyNoise\u003c/a\u003e. This will also help identify known-good IPs (e.g. Google networks, CDNs, etc.) from aggressive, known-malicious scanners.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/li\u003e\n\u003cli\u003eIP fingerprinting data is retrieved from Shodan's \u003ca href=\"https://internetdb.shodan.io/\" rel=\"nofollow\"\u003eInternetDB API\u003c/a\u003e. Data includes open ports, \u003ca href=\"https://en.wikipedia.org/wiki/Common_Platform_Enumeration\" rel=\"nofollow\"\u003esoftware/hardware information\u003c/a\u003e and \u003ca href=\"https://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures\" rel=\"nofollow\"\u003eknown vulnerabilities\u003c/a\u003e pertaining to the IP address.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eGeolocation\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-geolocation\" class=\"anchor\" aria-label=\"Permalink: Geolocation\" href=\"#geolocation\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe script will perform IP and trace hop geolocation with this logic:\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003eUsing the \u003ca href=\"https://ipinfo.io/\" rel=\"nofollow\"\u003eipinfo.io\u003c/a\u003e service as a primary source of geolocation data. It offers extremely precise geolocation data based on a proprietary network of geographically distributed probes, and is extremely reliable\u003c/li\u003e\n\u003cli\u003eUsing the \u003ca href=\"https://ip-api.com/\" rel=\"nofollow\"\u003eip-api\u003c/a\u003e service as a fallback source of geolocation data\u003c/li\u003e\n\u003cli\u003eUsing the \u003ca href=\"https://pwhois.org/\" rel=\"nofollow\"\u003ePrefix Whois\u003c/a\u003e service as a last-resort source of geolocation data\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eIP Classification\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-ip-classification\" class=\"anchor\" aria-label=\"Permalink: IP Classification\" href=\"#ip-classification\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe script will use the ip-api, incolumitas.com, ipinfo.io and PeeringDB services to classify target IPs and trace hops into these categories:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://en.wikipedia.org/wiki/Anycast\" rel=\"nofollow\"\u003eAnycast\u003c/a\u003e IP\u003c/li\u003e\n\u003cli\u003eMobile network\u003c/li\u003e\n\u003cli\u003eProxy host (TOR exit node/VPN/etc)\u003c/li\u003e\n\u003cli\u003eHosting network (datacenter/hosting provider/etc) along with detailed DC and region identification where available\u003c/li\u003e\n\u003cli\u003eIXP network\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eIXP detection and unannounced prefixes\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-ixp-detection-and-unannounced-prefixes\" class=\"anchor\" aria-label=\"Permalink: IXP detection and unannounced prefixes\" href=\"#ixp-detection-and-unannounced-prefixes\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eThe script will detect \u003ca href=\"https://en.wikipedia.org/wiki/Internet_exchange_point\" rel=\"nofollow\"\u003eIXPs\u003c/a\u003e traversed during path traces by matching them with \u003ca href=\"https://www.peeringdb.com/\" rel=\"nofollow\"\u003ePeeringDB\u003c/a\u003e's comprehensive dataset of IXP prefixes.\u003c/li\u003e\n\u003cli\u003eThe script will also attempt a best-effort, fallback generic \u003ccode\u003ewhois\u003c/code\u003e lookup when Team Cymru, pWhois and PeeringDB have no info about the IP address or prefix. This is usually the case with some \u003ca href=\"https://en.wikipedia.org/wiki/Peering#Private_peering\" rel=\"nofollow\"\u003ePNI\u003c/a\u003e prefixes, and will give better insight into the path taken by packets.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRunning lookups from the browser\u003c/h2\u003e\u003ca id=\"user-content-running-lookups-from-the-browser\" class=\"anchor\" aria-label=\"Permalink: Running lookups from the browser\" href=\"#running-lookups-from-the-browser\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003ePrerequisite tools for server mode\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-prerequisite-tools-for-server-mode\" class=\"anchor\" aria-label=\"Permalink: Prerequisite tools for server mode\" href=\"#prerequisite-tools-for-server-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eServer mode requires two tools for its functionality: \u003ccode\u003encat\u003c/code\u003e and \u003ccode\u003eaha\u003c/code\u003e. Specifically, \u003ca href=\"https://github.com/theZiz/aha\"\u003eaha\u003c/a\u003e (the ANSI-\u0026gt;HTML converter) v0.5+ is required. The ncat tool is contained inside the \u003cem\u003enmap\u003c/em\u003e package on older distributions (e.g. Ubuntu 18.04, Debian 9), while it is packaged as a standalone tool on newer ones.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ePlease refer to the \u003ca href=\"#installation\"\u003einstallation\u003c/a\u003e section and run the appropriate commands to install the required packages for your operating system, and optionally to install the asn server as a systemd service.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eAdvantages of server mode\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-advantages-of-server-mode\" class=\"anchor\" aria-label=\"Permalink: Advantages of server mode\" href=\"#advantages-of-server-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe main advantage of running lookups from the browser, is that every IP address and AS number gets converted into a hyperlink, allowing to perform subsequent lookups by simply clicking on them.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eWhen looking up an URL/hostname/domain, quick WHOIS info and links to relevant external resources will be available in the results.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eWhen looking up an AS number, all peering ASNs will be clickable. Also, if an AS peers at a public facility, PeeringDB info for that facility will be linked directly. Furthermore, additional external BGP information sources will be linked, directly for the target ASN.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eHere are some examples:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/117340152-e1217a00-aea0-11eb-9d8f-abaea0d3389e.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/117340152-e1217a00-aea0-11eb-9d8f-abaea0d3389e.png\" alt=\"srvmode_hostname_lookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/117340278-01e9cf80-aea1-11eb-8cad-457f60e80a86.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/117340278-01e9cf80-aea1-11eb-8cad-457f60e80a86.png\" alt=\"srvmode_whois\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/117340969-d7e4dd00-aea1-11eb-8e94-88d166f67360.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/117340969-d7e4dd00-aea1-11eb-8e94-88d166f67360.png\" alt=\"srvmode_asn_lookup\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eServer side\u003c/h4\u003e\u003ca id=\"user-content-server-side\" class=\"anchor\" aria-label=\"Permalink: Server side\" href=\"#server-side\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eOnce started in \u003cstrong\u003eserver mode\u003c/strong\u003e, \u003ccode\u003easn\u003c/code\u003e will spin up a custom webserver waiting for browser requests. This is what the server-side console looks like:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102154363-80ee5500-3e79-11eb-840f-53e3619be2e4.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102154363-80ee5500-3e79-11eb-840f-53e3619be2e4.png\" alt=\"server_console\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe server is now ready to accept browser requests (only from the local machine, in this case - since I've launched it with no command line switches, which defaults to listening on \u003cstrong\u003e127.0.0.1:49200\u003c/strong\u003e. Refer to the \u003ca href=\"#usage\"\u003eusage\u003c/a\u003e section for more information about the available server options).\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eClient side\u003c/h4\u003e\u003ca id=\"user-content-client-side\" class=\"anchor\" aria-label=\"Permalink: Client side\" href=\"#client-side\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eVisit \u003ca href=\"http://127.0.0.1:49200/asn_bookmarklet\" rel=\"nofollow\"\u003ethis page\u003c/a\u003e in your browser and follow the instructions to copy the bookmarklet to your bookmarks toolbar:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102159720-640b4f00-3e84-11eb-8360-afa79b6f0f5f.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102159720-640b4f00-3e84-11eb-8360-afa79b6f0f5f.png\" alt=\"bookmarklet_install\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eHow it works\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-how-it-works\" class=\"anchor\" aria-label=\"Permalink: How it works\" href=\"#how-it-works\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe bookmarklet is actually a small piece of Javascript code which will grab the hostname of the website you're currently visiting in the browser, and pass it to the server through a simple \u003cem\u003eHTTP GET\u003c/em\u003e request. The server then proceeds to perform the lookup and traceroute (from its own viewpoint, just like it does when ran interactively from the command line), and feed the results to your browser through an HTML page, mimicking the effect of a scrolling terminal.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: The link you drag to the bookmarks bar is actually a \u003cem\u003eminified\u003c/em\u003e (i.e.: compacted) version of the source javascript code, but for reference, here's the full source:\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-js notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"javascript:(function () {\n var asnserver = \u0026quot;localhost:49200\u0026quot;;\n var target = window.location.hostname;\n var width = screen.width - screen.width / 7;\n var height= screen.height - screen.height / 4;\n var left = window.innerWidth / 2 - width / 2;\n var top = window.innerHeight / 2 - height / 2;\n window.open(\u0026quot;http://\u0026quot; + asnserver + \u0026quot;/asn_lookup\u0026amp;\u0026quot; + target, \u0026quot;newWindow\u0026quot;, \u0026quot;width=\u0026quot; + width + \u0026quot;,height=\u0026quot; + height + \u0026quot;,top=\u0026quot; + top + \u0026quot;,left=\u0026quot; + left);\n})();\"\u003e\u003cpre\u003ejavascript:\u003cspan class=\"pl-kos\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-k\"\u003efunction\u003c/span\u003e \u003cspan class=\"pl-kos\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e)\u003c/span\u003e \u003cspan class=\"pl-kos\"\u003e{\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003easnserver\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"localhost:49200\"\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etarget\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003ewindow\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003elocation\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ehostname\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ewidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003escreen\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ewidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e-\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003escreen\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003ewidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e7\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eheight\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003escreen\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eheight\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e-\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003escreen\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003eheight\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e4\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eleft\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003ewindow\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003einnerWidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e2\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e-\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ewidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e2\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-k\"\u003evar\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etop\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e=\u003c/span\u003e \u003cspan class=\"pl-smi\"\u003ewindow\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-c1\"\u003einnerHeight\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e2\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e-\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eheight\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e/\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e2\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n \u003cspan class=\"pl-smi\"\u003ewindow\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e.\u003c/span\u003e\u003cspan class=\"pl-en\"\u003eopen\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-s\"\u003e\"http://\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003easnserver\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"/asn_lookup\u0026amp;\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etarget\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e,\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"newWindow\"\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e,\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\"width=\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003ewidth\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\",height=\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eheight\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\",top=\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003etop\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s\"\u003e\",left=\"\u003c/span\u003e \u003cspan class=\"pl-c1\"\u003e+\u003c/span\u003e \u003cspan class=\"pl-s1\"\u003eleft\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e)\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\n\u003cspan class=\"pl-kos\"\u003e}\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e)\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e(\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e)\u003c/span\u003e\u003cspan class=\"pl-kos\"\u003e;\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eIf you want to \"un-minify\" the actual bookmarklet code, you can refer to \u003ca href=\"https://unminify.com/\" rel=\"nofollow\"\u003ethis site\u003c/a\u003e\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cp dir=\"auto\"\u003eOnce the trace is finished, an option to share the output on \u003ca href=\"https://termbin.com/\" rel=\"nofollow\"\u003etermbin\u003c/a\u003e is given to the user. This makes for quick sharing of the traceroute or lookup output with other people:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102160506-dc264480-3e85-11eb-9e14-8c851f261172.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102160506-dc264480-3e85-11eb-9e14-8c851f261172.png\" alt=\"termbin\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102168101-f49b5c80-3e8f-11eb-8bc6-9f0592fa9624.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102168101-f49b5c80-3e8f-11eb-8bc6-9f0592fa9624.png\" alt=\"termbin_2\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSearch engine setup\u003c/h4\u003e\u003ca id=\"user-content-search-engine-setup\" class=\"anchor\" aria-label=\"Permalink: Search engine setup\" href=\"#search-engine-setup\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIn order to take full advantage of having \u003ccode\u003easn\u003c/code\u003e inside the browser, it is possible to configure it as a custom search engine for the browser search bar. This allows to leverage the server to search for \u003cstrong\u003eASNs\u003c/strong\u003e, \u003cstrong\u003eURLs\u003c/strong\u003e, \u003cstrong\u003eIPs\u003c/strong\u003e, \u003cstrong\u003eHostnames\u003c/strong\u003e, and so on, depending on the search string.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eGenerally speaking, this implies instructing the browser that when a certain \u003cstrong\u003ekeyword\u003c/strong\u003e is prepended to a search, the following characters (the actual \u003cstrong\u003esearch string\u003c/strong\u003e, identified by \u003ccode\u003e%s\u003c/code\u003e) have to be passed to a certain URL. The URL is then composed according to this logic, and opened just like a normal webpage.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eI've used \u003ccode\u003e@asn\u003c/code\u003e for my keyword, but anything would do. In order to speed up things, one could very well use a shorter tag (e.g. \u003ccode\u003e#\u003c/code\u003e) that, when used in the address bar, automatically switches your search engine to the ASN Lookup server.\nNote that the leading \u003ccode\u003e@\u003c/code\u003e sign is not mandatory, just handy since it doesn't get in the way of normal searches, but there's much freedom with that.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eFor quick reference, the location URL string to enter (for both Firefox and Chrome) is: \u003ccode\u003ehttp://127.0.0.1:49200/asn_lookup\u0026amp;%s\u003c/code\u003e. Of course that sends lookup requests to the \u003cem\u003elocally\u003c/em\u003e running ASN server.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eHere's how to add a search engine in Firefox and Chrome:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eFirefox:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eSimply create a new bookmark and fill its details like this:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102160982-c6fde580-3e86-11eb-9885-c23eb60d622b.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102160982-c6fde580-3e86-11eb-9885-c23eb60d622b.png\" alt=\"searchsetup_firefox\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eAfterwards, you will be able to run queries and traceroutes by simply entering, for example, \u003ccode\u003e@asn 8.8.8.8\u003c/code\u003e in the browser's location bar.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eChrome:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eRight click the location bar and select \u003ci\u003e\u003cstrong\u003eManage search engines...\u003c/strong\u003e\u003c/i\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102161929-87d09400-3e88-11eb-9e42-70087e3fab87.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102161929-87d09400-3e88-11eb-9e42-70087e3fab87.png\" alt=\"searchsetup_chrome_1\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eClick \u003cstrong\u003eAdd\u003c/strong\u003e:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102162100-dc740f00-3e88-11eb-8037-528fbcc636e9.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102162100-dc740f00-3e88-11eb-8037-528fbcc636e9.png\" alt=\"searchsetup_chrome_2\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eFill in the details as shown below:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca target=\"_blank\" rel=\"noopener noreferrer nofollow\" href=\"https://user-images.githubusercontent.com/24555810/102162218-16451580-3e89-11eb-85d1-a4d24c980d7d.png\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/24555810/102162218-16451580-3e89-11eb-85d1-a4d24c980d7d.png\" alt=\"searchsetup_chrome_3\" style=\"max-width: 100%;\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp dir=\"auto\"\u003eAs usual, the keyword is entirely customizable to your preference.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003e\u003cstrong\u003eOther browsers:\u003c/strong\u003e\u003c/em\u003e\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eYou may want to follow \u003ca href=\"https://www.howtogeek.com/114176/how-to-easily-create-search-plugins-add-any-search-engine-to-your-browser/\" rel=\"nofollow\"\u003ethis post\u003c/a\u003e to search for instructions on how to add a custom search engine for your browser of choice.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRunning the server on an external host\u003c/h4\u003e\u003ca id=\"user-content-running-the-server-on-an-external-host\" class=\"anchor\" aria-label=\"Permalink: Running the server on an external host\" href=\"#running-the-server-on-an-external-host\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003ePort forwarding\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-port-forwarding\" class=\"anchor\" aria-label=\"Permalink: Port forwarding\" href=\"#port-forwarding\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIn order to access the server remotely, beside binding to \u003ccode\u003e0.0.0.0\u003c/code\u003e (or any other relevant IP address for your scenario), if the host is behind a NAT router, you'll need to forward the listening port (\u003ccode\u003eBIND_PORT\u003c/code\u003e) from the host/router outside IP to the actual machine where the ASN server is running on.\nIt is a single TCP port (by default \u003ccode\u003eTCP/49200\u003c/code\u003e), and you can change it via the command line parameters (see \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e).\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eTextual browser client\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-textual-browser-client\" class=\"anchor\" aria-label=\"Permalink: Textual browser client\" href=\"#textual-browser-client\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIt is possible to launch remote traces from another command line, and view the results directly in the terminal. All it takes is a compatible text browser, for example \u003ccode\u003eelinks\u003c/code\u003e (but you can download results for later reviewing even using \u003ccode\u003ecurl\u003c/code\u003e or really anything else).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe script makes use of 8-bit ANSI colors for its output, so the command to launch a remote trace using elinks would be something like this:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003eelinks -dump -dump-color-mode 3 http://\u0026lt;ASN_SRV_IP\u0026gt;:49200/asn_lookup\u0026amp;8.8.8.8\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003e\u003cem\u003eSecurity considerations\u003c/em\u003e\u003c/h5\u003e\u003ca id=\"user-content-security-considerations\" class=\"anchor\" aria-label=\"Permalink: Security considerations\" href=\"#security-considerations\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe server logic in itself is very simple: the script implements a basic web server entirely in BASH, leveraging the fact that it can talk to a browser using the HTTP protocol and the HTML language, in a reasonably simple way.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe core behind it revolves around \u003ca href=\"https://nmap.org/ncat/\" rel=\"nofollow\"\u003encat\u003c/a\u003e, a very robust and stable netcat-like network tool. This is the actual \"server\" listening for incoming connection, and spawning connection handlers (that is, 'single-purpose' instances of the \u003ccode\u003easn\u003c/code\u003e script itself) as clients connect.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIf you decide to open it to the outside (i.e.: binding it to something that is not localhost, and launching traces from outside your local machine), please bear in mind that there is no authentication mechanism (yet) integrated into the code, so theoretically anybody with the right URL could \u003cem\u003espawn traceroutes from your server\u003c/em\u003e and view the results (bear in mind however that the server sanitizes user input by stripping any dangerous characters).\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eTo contrast that, fortunately \u003ccode\u003encat\u003c/code\u003e implements a robust allow/deny logic (based both on command line parameters and files, a la \u003ccode\u003e/etc/hosts.allow\u003c/code\u003e and \u003ccode\u003ehosts.deny\u003c/code\u003e). The script supports passing parameters directly to \u003ccode\u003encat\u003c/code\u003e, therefore it's possible to make full use of its filtering capabilities and lock the server to a restricted range of trusted IPs.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThe available options, and some usage examples, can be viewed by running \u003ccode\u003easn -h\u003c/code\u003e.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: if you plan to run the server somewhere else than your local machine, remember to change the bookmarklet code and the custom search engine URL values to reflect the actual IP of the asn server. It is naturally possible to have multiple bookmarklets and search engine keywords to map to different ASN server instances.\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eFor the bookmarklet, you'll need to change this value at the very beginning:\u003c/em\u003e \u003ccode\u003evar asnserver=\"localhost:49200\"\u003c/code\u003e \u003cem\u003eand make it point to the new address:port pair. No further change is required in the remaining JS code.\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eShodan scanning (Recon Mode)\u003c/h2\u003e\u003ca id=\"user-content-shodan-scanning-recon-mode\" class=\"anchor\" aria-label=\"Permalink: Shodan scanning (Recon Mode)\" href=\"#shodan-scanning-recon-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe tool can query Shodan's InternetDB API to look up information regarding any type of targets when launched with the \u003ccode\u003e-s\u003c/code\u003e command line switch.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eIf the scan identifies any vulnerabilities, the NIST NVD API is queried in order to provide descriptions, any well known names and a link to learn more about the top ones.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eCurrently supported targets are:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003cstrong\u003eIP addresses\u003c/strong\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCIDR blocks\u003c/strong\u003e \u003cem\u003e(will scan all of the IPs in the range)\u003c/em\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eURLs\u003c/strong\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eHostnames\u003c/strong\u003e \u003cem\u003e(will resolve to an IP (or list of IPs) and query all of them)\u003c/em\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eTarget types can be mixed and queried in a single run. Targets can be piped to the tool via standard input as well.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eUsage Examples:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -s 1.1.1.1 8.8.8.8 9.9.9.9\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -s https://www.google.com 8.8.8.0/24\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -s \u0026lt; iplist\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003ecurl -s https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/blocklist_de_bots.ipset | asn -s\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eShodan scan results can be output in JSON mode by passing the \u003ccode\u003e-j\u003c/code\u003e or \u003ccode\u003e-J\u003c/code\u003e options.\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNote: the Nmap tool is needed to use this feature, but note that \u003cstrong\u003eno packets whatsoever\u003c/strong\u003e are sent to the targets. Nmap is only required to break down CIDR blocks into single IPs (as a calculator tool).\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eMapping the IP(v4/v6) address space of specific countries\u003c/h2\u003e\u003ca id=\"user-content-mapping-the-ipv4v6-address-space-of-specific-countries\" class=\"anchor\" aria-label=\"Permalink: Mapping the IP(v4/v6) address space of specific countries\" href=\"#mapping-the-ipv4v6-address-space-of-specific-countries\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe tool will search and display all IPv4 and IPv6 CIDR blocks allocated to a specific country when launched with the \u003ccode\u003e-c\u003c/code\u003e command line switch, plus some statistics.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eSearching for a specific country code with a leading dot (e.g. \u003ccode\u003e.fr\u003c/code\u003e) will yield direct results for France, while full text search will display country codes matching the search string, or proceed to display the results if only one match is found.\u003c/li\u003e\n\u003cli\u003eStatistics such as v4 prefix length distribution, total IPv4 addresses available to the country, IPv4 addresses per capita, etc. are included.\u003c/li\u003e\n\u003cli\u003eJSON output is supported.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eUsage Examples:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -c germany\u003c/code\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -c .de\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# scan a random norwegian subnet for CVE/CPE/open ports/hostnames:\nasn -jc .no | jq -r \u0026quot;.results[] | .ipv4[$RANDOM % .ipv4_blocks]\u0026quot; | asn -s\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e scan a random norwegian subnet for CVE/CPE/open ports/hostnames:\u003c/span\u003e\nasn -jc .no \u003cspan class=\"pl-k\"\u003e|\u003c/span\u003e jq -r \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e.results[] | .ipv4[\u003cspan class=\"pl-smi\"\u003e$RANDOM\u003c/span\u003e % .ipv4_blocks]\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e \u003cspan class=\"pl-k\"\u003e|\u003c/span\u003e asn -s\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eBulk geolocation mode\u003c/h2\u003e\u003ca id=\"user-content-bulk-geolocation-mode\" class=\"anchor\" aria-label=\"Permalink: Bulk geolocation mode\" href=\"#bulk-geolocation-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIn this mode the tool will extract all IPv4 and IPv6 addresses from the input data and geolocate them. Anycast detection and general stats (top IPv4/IPv6 addresses with number of occurrences, number of IPs per country etc.) are included in the output. Bulk geolocation is quicker than normal \u003ccode\u003easn\u003c/code\u003e lookups (300 IP addresses can be parsed in ~5s), and its main use case is to extract, geolocate and calculate country/occurrence stats for any number of IPs from arbitrarily formatted data streams (e.g. server logs). JSON output and stdin input are supported.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eUsage Examples:\u003c/em\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -g 1.1.1.1 8.8.8.8\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# geolocate webserver clients\nasn -g \u0026lt; /var/log/apache2/access.log\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e geolocate webserver clients\u003c/span\u003e\nasn -g \u003cspan class=\"pl-k\"\u003e\u0026lt;\u003c/span\u003e /var/log/apache2/access.log\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"# geolocate IPs that have logged in to the system\nlast | asn -g\"\u003e\u003cpre\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e geolocate IPs that have logged in to the system\u003c/span\u003e\nlast \u003cspan class=\"pl-k\"\u003e|\u003c/span\u003e asn -g\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eJSON output and API mode\u003c/h2\u003e\u003ca id=\"user-content-json-output-and-api-mode\" class=\"anchor\" aria-label=\"Permalink: JSON output and API mode\" href=\"#json-output-and-api-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLocally (shell mode)\u003c/h4\u003e\u003ca id=\"user-content-locally-shell-mode\" class=\"anchor\" aria-label=\"Permalink: Locally (shell mode)\" href=\"#locally-shell-mode\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe tool can be instructed to output lookup results in JSON mode by using the \u003ccode\u003e-j\u003c/code\u003e (compact JSON) or \u003ccode\u003e-J\u003c/code\u003e (pretty-printed JSON) command line options:\u003c/p\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 1 - IPv4 lookup\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -J 8.8.8.8\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-json notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"{\n \u0026quot;target\u0026quot;: \u0026quot;8.8.8.8\u0026quot;,\n \u0026quot;target_type\u0026quot;: \u0026quot;ipv4\u0026quot;,\n \u0026quot;result\u0026quot;: \u0026quot;ok\u0026quot;,\n \u0026quot;reason\u0026quot;: \u0026quot;success\u0026quot;,\n \u0026quot;version\u0026quot;: \u0026quot;0.78.0\u0026quot;,\n \u0026quot;request_time\u0026quot;: \u0026quot;2024-08-20T02:50:28\u0026quot;,\n \u0026quot;request_duration\u0026quot;: 5,\n \u0026quot;api_tokens\u0026quot;: {\n \u0026quot;ipqualityscore\u0026quot;: true,\n \u0026quot;ipinfo\u0026quot;: true,\n \u0026quot;cloudflare\u0026quot;: true\n },\n \u0026quot;result_count\u0026quot;: 1,\n \u0026quot;results\u0026quot;: [\n {\n \u0026quot;ip\u0026quot;: \u0026quot;8.8.8.8\u0026quot;,\n \u0026quot;ip_version\u0026quot;: \u0026quot;4\u0026quot;,\n \u0026quot;reverse\u0026quot;: \u0026quot;dns.google\u0026quot;,\n \u0026quot;org_name\u0026quot;: \u0026quot;Google LLC\u0026quot;,\n \u0026quot;net_range\u0026quot;: \u0026quot;8.8.8.0/24\u0026quot;,\n \u0026quot;net_name\u0026quot;: \u0026quot;GOGL\u0026quot;,\n \u0026quot;abuse_contacts\u0026quot;: [\n \u0026quot;network-abuse@google.com\u0026quot;\n ],\n \u0026quot;routing\u0026quot;: {\n \u0026quot;is_announced\u0026quot;: true,\n \u0026quot;as_number\u0026quot;: \u0026quot;15169\u0026quot;,\n \u0026quot;as_name\u0026quot;: \u0026quot;GOOGLE, US\u0026quot;,\n \u0026quot;as_rank\u0026quot;: \u0026quot;1788\u0026quot;,\n \u0026quot;route\u0026quot;: \u0026quot;8.8.8.0/24\u0026quot;,\n \u0026quot;route_name\u0026quot;: \u0026quot;\u0026quot;,\n \u0026quot;roa_count\u0026quot;: \u0026quot;1\u0026quot;,\n \u0026quot;roa_validity\u0026quot;: \u0026quot;valid\u0026quot;\n },\n \u0026quot;type\u0026quot;: {\n \u0026quot;is_bogon\u0026quot;: false,\n \u0026quot;is_anycast\u0026quot;: true,\n \u0026quot;is_mobile\u0026quot;: false,\n \u0026quot;is_proxy\u0026quot;: false,\n \u0026quot;is_dc\u0026quot;: true,\n \u0026quot;dc_details\u0026quot;: {\n \u0026quot;dc_name\u0026quot;: \u0026quot;Google LLC\u0026quot;\n },\n \u0026quot;is_ixp\u0026quot;: false\n },\n \u0026quot;geolocation\u0026quot;: {\n \u0026quot;city\u0026quot;: \u0026quot;Mountain View\u0026quot;,\n \u0026quot;region\u0026quot;: \u0026quot;California\u0026quot;,\n \u0026quot;country\u0026quot;: \u0026quot;United States\u0026quot;,\n \u0026quot;cc\u0026quot;: \u0026quot;US\u0026quot;\n },\n \u0026quot;reputation\u0026quot;: {\n \u0026quot;status\u0026quot;: \u0026quot;good\u0026quot;,\n \u0026quot;is_known_good\u0026quot;: true,\n \u0026quot;known_as\u0026quot;: \u0026quot;Google Public DNS\u0026quot;\n },\n \u0026quot;fingerprinting\u0026quot;: {\n \u0026quot;ports\u0026quot;: [\n 53,\n 443\n ]\n }\n }\n ]\n}\"\u003e\u003cpre\u003e{\n \u003cspan class=\"pl-ent\"\u003e\"target\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e8.8.8.8\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"target_type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eipv4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"result\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eok\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"reason\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esuccess\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"version\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e0.78.0\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_time\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2024-08-20T02:50:28\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_duration\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e5\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"api_tokens\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"ipqualityscore\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"ipinfo\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"cloudflare\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"result_count\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e1\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"results\"\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-ent\"\u003e\"ip\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e8.8.8.8\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"ip_version\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"reverse\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003edns.google\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"org_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eGoogle LLC\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"net_range\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e8.8.8.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"net_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eGOGL\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"abuse_contacts\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enetwork-abuse@google.com\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"routing\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"is_announced\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"as_number\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e15169\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"as_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eGOOGLE, US\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"as_rank\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1788\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"route\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e8.8.8.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"route_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"roa_count\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"roa_validity\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003evalid\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"type\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"is_bogon\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_anycast\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_mobile\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_proxy\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_dc\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"dc_details\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"dc_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eGoogle LLC\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"is_ixp\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"geolocation\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"city\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eMountain View\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"region\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eCalifornia\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"country\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eUnited States\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"cc\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eUS\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"reputation\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"status\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003egood\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_known_good\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"known_as\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eGoogle Public DNS\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"fingerprinting\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"ports\"\u003c/span\u003e: [\n \u003cspan class=\"pl-c1\"\u003e53\u003c/span\u003e,\n \u003cspan class=\"pl-c1\"\u003e443\u003c/span\u003e\n ]\n }\n }\n ]\n}\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 2 - ASN lookup\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-1\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-1\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -J 5505\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-1\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-1\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-json notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"{\n \u0026quot;target\u0026quot;: \u0026quot;5505\u0026quot;,\n \u0026quot;target_type\u0026quot;: \u0026quot;asn\u0026quot;,\n \u0026quot;result\u0026quot;: \u0026quot;ok\u0026quot;,\n \u0026quot;reason\u0026quot;: \u0026quot;success\u0026quot;,\n \u0026quot;version\u0026quot;: \u0026quot;0.78.0\u0026quot;,\n \u0026quot;request_time\u0026quot;: \u0026quot;2024-08-20T02:50:46\u0026quot;,\n \u0026quot;request_duration\u0026quot;: 17,\n \u0026quot;api_tokens\u0026quot;: {\n \u0026quot;ipqualityscore\u0026quot;: true,\n \u0026quot;ipinfo\u0026quot;: true,\n \u0026quot;cloudflare\u0026quot;: true\n },\n \u0026quot;result_count\u0026quot;: 1,\n \u0026quot;results\u0026quot;: [\n {\n \u0026quot;asn\u0026quot;: \u0026quot;5505\u0026quot;,\n \u0026quot;asname\u0026quot;: \u0026quot;VADAVO, ES\u0026quot;,\n \u0026quot;asrank\u0026quot;: 4448,\n \u0026quot;org\u0026quot;: \u0026quot;VDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM\u0026quot;,\n \u0026quot;holder\u0026quot;: \u0026quot;VADAVO SOLUCIONES SL\u0026quot;,\n \u0026quot;abuse_contacts\u0026quot;: [\n \u0026quot;abuse@vadavo.com\u0026quot;\n ],\n \u0026quot;registration_date\u0026quot;: \u0026quot;2016-12-13T08:28:07\u0026quot;,\n \u0026quot;ixp_presence\u0026quot;: [\n \u0026quot;DE-CIX Madrid: DE-CIX Madrid Peering LAN\u0026quot;,\n \u0026quot;ESpanix Madrid Lower LAN\u0026quot;\n ],\n \u0026quot;prefix_count_v4\u0026quot;: 8,\n \u0026quot;prefix_count_v6\u0026quot;: 1,\n \u0026quot;bgp_peer_count\u0026quot;: 36,\n \u0026quot;bgp_hijack_incidents\u0026quot;: {\n \u0026quot;total\u0026quot;: 0,\n \u0026quot;as_hijacker\u0026quot;: 0,\n \u0026quot;as_victim\u0026quot;: 0\n },\n \u0026quot;bgp_leak_incidents\u0026quot;: {\n \u0026quot;total\u0026quot;: 0\n },\n \u0026quot;bgp_peers\u0026quot;: {\n \u0026quot;upstream\u0026quot;: [\n \u0026quot;1299\u0026quot;,\n \u0026quot;6939\u0026quot;,\n \u0026quot;59432\u0026quot;,\n \u0026quot;174\u0026quot;,\n \u0026quot;34549\u0026quot;,\n \u0026quot;25091\u0026quot;,\n \u0026quot;35625\u0026quot;,\n \u0026quot;33891\u0026quot;,\n \u0026quot;48348\u0026quot;,\n \u0026quot;13030\u0026quot;,\n \u0026quot;8218\u0026quot;,\n \u0026quot;41327\u0026quot;,\n \u0026quot;3303\u0026quot;,\n \u0026quot;4455\u0026quot;,\n \u0026quot;6424\u0026quot;,\n \u0026quot;6057\u0026quot;,\n \u0026quot;34927\u0026quot;,\n \u0026quot;9498\u0026quot;,\n \u0026quot;35280\u0026quot;,\n \u0026quot;1239\u0026quot;\n ],\n \u0026quot;downstream\u0026quot;: [\n \u0026quot;48952\u0026quot;,\n \u0026quot;208248\u0026quot;,\n \u0026quot;205086\u0026quot;,\n \u0026quot;202054\u0026quot;\n ],\n \u0026quot;uncertain\u0026quot;: [\n \u0026quot;24482\u0026quot;,\n \u0026quot;51185\u0026quot;,\n \u0026quot;41047\u0026quot;,\n \u0026quot;29680\u0026quot;,\n \u0026quot;212483\u0026quot;,\n \u0026quot;198150\u0026quot;,\n \u0026quot;14840\u0026quot;,\n \u0026quot;49544\u0026quot;,\n \u0026quot;39384\u0026quot;,\n \u0026quot;37721\u0026quot;,\n \u0026quot;36236\u0026quot;,\n \u0026quot;25160\u0026quot;\n ]\n },\n \u0026quot;announced_prefixes\u0026quot;: {\n \u0026quot;v4\u0026quot;: [\n \u0026quot;185.210.225.0/24\u0026quot;,\n \u0026quot;188.130.247.0/24\u0026quot;,\n \u0026quot;185.210.227.0/24\u0026quot;,\n \u0026quot;185.123.205.0/24\u0026quot;,\n \u0026quot;185.123.207.0/24\u0026quot;,\n \u0026quot;185.210.226.0/24\u0026quot;,\n \u0026quot;185.123.206.0/24\u0026quot;,\n \u0026quot;185.123.204.0/24\u0026quot;\n ],\n \u0026quot;v6\u0026quot;: [\n \u0026quot;2a03:9320::/32\u0026quot;\n ]\n },\n \u0026quot;inetnums\u0026quot;: {\n \u0026quot;v4\u0026quot;: [\n \u0026quot;185.123.204.0/22\u0026quot;,\n \u0026quot;185.210.225.0/24\u0026quot;,\n \u0026quot;185.210.226.0/24\u0026quot;,\n \u0026quot;185.210.227.0/24\u0026quot;,\n \u0026quot;188.130.247.0/24\u0026quot;\n ],\n \u0026quot;v6\u0026quot;: [\n \u0026quot;2a03:9320::/32\u0026quot;\n ]\n },\n \u0026quot;inetnums_announced_by_other_as\u0026quot;: {\n \u0026quot;v4\u0026quot;: [\n {\n \u0026quot;prefix\u0026quot;: \u0026quot;188.130.254.0/24\u0026quot;,\n \u0026quot;origin_asn\u0026quot;: \u0026quot;\u0026quot;,\n \u0026quot;origin_org\u0026quot;: \u0026quot;\u0026quot;,\n \u0026quot;is_announced\u0026quot;: false\n }\n ],\n \u0026quot;v6\u0026quot;: []\n }\n }\n ]\n}\"\u003e\u003cpre\u003e{\n \u003cspan class=\"pl-ent\"\u003e\"target\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e5505\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"target_type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003easn\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"result\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eok\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"reason\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esuccess\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"version\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e0.78.0\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_time\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2024-08-20T02:50:46\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_duration\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e17\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"api_tokens\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"ipqualityscore\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"ipinfo\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"cloudflare\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"result_count\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e1\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"results\"\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-ent\"\u003e\"asn\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e5505\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"asname\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eVADAVO, ES\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"asrank\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e4448\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"org\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eVDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"holder\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eVADAVO SOLUCIONES SL\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"abuse_contacts\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eabuse@vadavo.com\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"registration_date\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2016-12-13T08:28:07\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"ixp_presence\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eDE-CIX Madrid: DE-CIX Madrid Peering LAN\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eESpanix Madrid Lower LAN\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"prefix_count_v4\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e8\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"prefix_count_v6\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e1\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"bgp_peer_count\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e36\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"bgp_hijack_incidents\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"total\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"as_hijacker\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"as_victim\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"bgp_leak_incidents\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"total\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e0\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"bgp_peers\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"upstream\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1299\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e6939\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e59432\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e174\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e34549\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e25091\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e35625\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e33891\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e48348\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e13030\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e8218\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e41327\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e3303\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e4455\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e6424\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e6057\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e34927\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e9498\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e35280\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1239\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"downstream\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e48952\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e208248\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e205086\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e202054\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"uncertain\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e24482\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e51185\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e41047\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e29680\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e212483\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e198150\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e14840\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e49544\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e39384\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e37721\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e36236\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e25160\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ]\n },\n \u003cspan class=\"pl-ent\"\u003e\"announced_prefixes\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"v4\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.225.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e188.130.247.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.227.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.123.205.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.123.207.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.226.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.123.206.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.123.204.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"v6\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2a03:9320::/32\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ]\n },\n \u003cspan class=\"pl-ent\"\u003e\"inetnums\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"v4\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.123.204.0/22\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.225.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.226.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e185.210.227.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e188.130.247.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ],\n \u003cspan class=\"pl-ent\"\u003e\"v6\"\u003c/span\u003e: [\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2a03:9320::/32\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n ]\n },\n \u003cspan class=\"pl-ent\"\u003e\"inetnums_announced_by_other_as\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"v4\"\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-ent\"\u003e\"prefix\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e188.130.254.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"origin_asn\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"origin_org\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_announced\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n }\n ],\n \u003cspan class=\"pl-ent\"\u003e\"v6\"\u003c/span\u003e: []\n }\n }\n ]\n}\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 3 - enumerating abuse contacts for every IP to which a hostname resolves\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-2\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-2\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -j www.google.com | jq '[.results[].abuse_contacts[]] | unique[]'\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-2\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-2\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"\u0026quot;network-abuse@google.com\u0026quot;\n\u0026quot;ripe-contact@google.com\u0026quot;\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003e\"network-abuse@google.com\"\n\"ripe-contact@google.com\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 4 - enumerating known vulnerabilities for a target\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-3\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-3\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -j 45.67.34.100 | jq '.results[].fingerprinting.vulns[]'\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-3\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-3\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"\u0026quot;CVE-2017-15906\u0026quot;\n\u0026quot;CVE-2018-15919\u0026quot;\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003e\"CVE-2017-15906\"\n\"CVE-2018-15919\"\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 5 - upstream/transit AS lookup for a given IP\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-4\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-4\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -Ju 72.17.119.201\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-4\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-4\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"highlight highlight-source-json notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"{\n \u0026quot;target\u0026quot;: \u0026quot;72.17.119.201\u0026quot;,\n \u0026quot;target_type\u0026quot;: \u0026quot;ipv4\u0026quot;,\n \u0026quot;result\u0026quot;: \u0026quot;ok\u0026quot;,\n \u0026quot;reason\u0026quot;: \u0026quot;success\u0026quot;,\n \u0026quot;version\u0026quot;: \u0026quot;0.78.0\u0026quot;,\n \u0026quot;request_time\u0026quot;: \u0026quot;2024-08-20T02:54:03\u0026quot;,\n \u0026quot;request_duration\u0026quot;: 4,\n \u0026quot;api_tokens\u0026quot;: {\n \u0026quot;ipqualityscore\u0026quot;: true,\n \u0026quot;ipinfo\u0026quot;: true,\n \u0026quot;cloudflare\u0026quot;: true\n },\n \u0026quot;result_count\u0026quot;: 1,\n \u0026quot;results\u0026quot;: [\n {\n \u0026quot;prefix\u0026quot;: \u0026quot;72.17.0.0/17\u0026quot;,\n \u0026quot;origin_as\u0026quot;: \u0026quot;33363\u0026quot;,\n \u0026quot;origin_as_name\u0026quot;: \u0026quot;BHN-33363, US\u0026quot;,\n \u0026quot;origin_as_rank\u0026quot;: 441,\n \u0026quot;upstreams_count\u0026quot;: 1,\n \u0026quot;upstreams\u0026quot;: [\n {\n \u0026quot;asn\u0026quot;: \u0026quot;7843\u0026quot;,\n \u0026quot;asname\u0026quot;: \u0026quot;TWC-7843-BB, US\u0026quot;,\n \u0026quot;probability\u0026quot;: 100,\n \u0026quot;is_tier1\u0026quot;: false\n }\n ],\n \u0026quot;multiple_upstreams\u0026quot;: false\n }\n ]\n}\"\u003e\u003cpre\u003e{\n \u003cspan class=\"pl-ent\"\u003e\"target\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e72.17.119.201\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"target_type\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eipv4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"result\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eok\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"reason\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esuccess\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"version\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e0.78.0\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_time\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2024-08-20T02:54:03\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"request_duration\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e4\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"api_tokens\"\u003c/span\u003e: {\n \u003cspan class=\"pl-ent\"\u003e\"ipqualityscore\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"ipinfo\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"cloudflare\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003etrue\u003c/span\u003e\n },\n \u003cspan class=\"pl-ent\"\u003e\"result_count\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e1\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"results\"\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-ent\"\u003e\"prefix\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e72.17.0.0/17\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"origin_as\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e33363\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"origin_as_name\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eBHN-33363, US\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"origin_as_rank\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e441\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"upstreams_count\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e1\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"upstreams\"\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-ent\"\u003e\"asn\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e7843\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"asname\"\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eTWC-7843-BB, US\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"probability\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003e100\u003c/span\u003e,\n \u003cspan class=\"pl-ent\"\u003e\"is_tier1\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n }\n ],\n \u003cspan class=\"pl-ent\"\u003e\"multiple_upstreams\"\u003c/span\u003e: \u003cspan class=\"pl-c1\"\u003efalse\u003c/span\u003e\n }\n ]\n}\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 6 - enumerating unannounced address blocks for a given AS\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-5\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-5\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -j AS5505 | jq -r '.results[].inetnums_announced_by_other_as.v4[] | select(.is_announced==false) | .prefix'\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-5\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-5\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"188.130.254.0/24\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003e188.130.254.0/24\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003e\u003ci\u003eExample 7 - enumerating the amount of BGP hijacking incidents involving a given AS\u003c/i\u003e\u003c/summary\u003e\u003cp dir=\"auto\"\u003e\n\u003c/p\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCommand:\u003c/h5\u003e\u003ca id=\"user-content-command-6\" class=\"anchor\" aria-label=\"Permalink: Command:\" href=\"#command-6\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003ccode\u003easn -j AS8860 | jq '.results[].bgp_hijack_incidents'\u003c/code\u003e\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch5 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOutput:\u003c/h5\u003e\u003ca id=\"user-content-output-6\" class=\"anchor\" aria-label=\"Permalink: Output:\" href=\"#output-6\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"{\n \u0026quot;total\u0026quot;: 18,\n \u0026quot;as_hijacker\u0026quot;: 11,\n \u0026quot;as_victim\u0026quot;: 7\n}\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003e{\n \"total\": 18,\n \"as_hijacker\": 11,\n \"as_victim\": 7\n}\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003c/p\u003e\u003c/details\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRemotely (API endpoint)\u003c/h4\u003e\u003ca id=\"user-content-remotely-api-endpoint\" class=\"anchor\" aria-label=\"Permalink: Remotely (API endpoint)\" href=\"#remotely-api-endpoint\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eBy running the script in \u003ca href=\"#running-lookups-from-the-browser\"\u003eserver mode\u003c/a\u003e, it is possible to use it as a self-hosted lookup API service by running HTTP queries against it and retrieving the results in compact or pretty-printed JSON format. The server exposes the \u003ccode\u003easn_lookup_json\u003c/code\u003e and \u003ccode\u003easn_lookup_jsonp\u003c/code\u003e endpoints for this purpose. The syntax is the same as with normal browser-based remote queries.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eExample 1: querying the server remotely using \u003ccode\u003ecurl\u003c/code\u003e (compact output):\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"root@KRUSTY:~# curl -s \u0026quot;http://localhost:49200/asn_lookup_json\u0026amp;1.1.1.1\u0026quot;\n{\u0026quot;target\u0026quot;:\u0026quot;1.1.1.1\u0026quot;,\u0026quot;target_type\u0026quot;:\u0026quot;ipv4\u0026quot;,\u0026quot;result\u0026quot;:\u0026quot;ok\u0026quot;,\u0026quot;reason\u0026quot;:\u0026quot;success\u0026quot;,\u0026quot;version\u0026quot;:\u0026quot;0.72.1\u0026quot;,\u0026quot;request_time\u0026quot;:\u0026quot;2022-03-29T00:13:11\u0026quot;,\u0026quot;request_duration\u0026quot;:5,\u0026quot;result_count\u0026quot;:1,\u0026quot;results\u0026quot;:[{\u0026quot;ip\u0026quot;:\u0026quot;1.1.1.1\u0026quot;,\u0026quot;ip_version\u0026quot;:\u0026quot;4\u0026quot;,\u0026quot;reverse\u0026quot;:\u0026quot;one.one.one.one\u0026quot;,\u0026quot;org_name\u0026quot;:\u0026quot;APNIC and Cloudflare DNS Resolver project\u0026quot;,\u0026quot;abuse_contacts\u0026quot;:[\u0026quot;helpdesk@apnic.net\u0026quot;],\u0026quot;routing\u0026quot;:{\u0026quot;is_announced\u0026quot;:true,\u0026quot;as_number\u0026quot;:\u0026quot;13335\u0026quot;,\u0026quot;as_name\u0026quot;:\u0026quot;CLOUDFLARENET, US\u0026quot;,\u0026quot;net_range\u0026quot;:\u0026quot;1.1.1.0/24\u0026quot;,\u0026quot;net_name\u0026quot;:\u0026quot;APNIC-LABS\u0026quot;,\u0026quot;roa_count\u0026quot;:\u0026quot;1\u0026quot;,\u0026quot;roa_validity\u0026quot;:\u0026quot;valid\u0026quot;},\u0026quot;type\u0026quot;:{\u0026quot;is_bogon\u0026quot;:false,\u0026quot;is_anycast\u0026quot;:true,\u0026quot;is_mobile\u0026quot;:false,\u0026quot;is_proxy\u0026quot;:false,\u0026quot;is_dc\u0026quot;:true,\u0026quot;dc_details\u0026quot;:{\u0026quot;dc_name\u0026quot;:\u0026quot;Cloudflare\u0026quot;},\u0026quot;is_ixp\u0026quot;:false},\u0026quot;geolocation\u0026quot;:{\u0026quot;city\u0026quot;:\u0026quot;Magomeni\u0026quot;,\u0026quot;region\u0026quot;:\u0026quot;Dar es Salaam\u0026quot;,\u0026quot;country\u0026quot;:\u0026quot;Tanzania\u0026quot;,\u0026quot;cc\u0026quot;:\u0026quot;TZ\u0026quot;},\u0026quot;reputation\u0026quot;:{\u0026quot;status\u0026quot;:\u0026quot;good\u0026quot;,\u0026quot;is_known_good\u0026quot;:true,\u0026quot;known_as\u0026quot;:\u0026quot;Cloudflare Public DNS\u0026quot;},\u0026quot;fingerprinting\u0026quot;:{\u0026quot;ports\u0026quot;:[53,80,443]}}]}\"\u003e\u003cpre\u003eroot@KRUSTY:\u003cspan class=\"pl-k\"\u003e~\u003c/span\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e curl -s \"http://localhost:49200/asn_lookup_json\u0026amp;1.1.1.1\"\u003c/span\u003e\n{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etarget\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1.1.1.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etarget_type\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eipv4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresult\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eok\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ereason\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esuccess\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eversion\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e0.72.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erequest_time\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2022-03-29T00:13:11\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erequest_duration\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:5,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresult_count\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:1,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresults\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:[{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eip\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1.1.1.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eip_version\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ereverse\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eone.one.one.one\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eorg_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eAPNIC and Cloudflare DNS Resolver project\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eabuse_contacts\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:[\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ehelpdesk@apnic.net\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e],\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erouting\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_announced\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:true,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eas_number\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e13335\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eas_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eCLOUDFLARENET, US\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enet_range\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1.1.1.0/24\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enet_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eAPNIC-LABS\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eroa_count\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eroa_validity\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003evalid\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e},\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etype\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_bogon\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:false,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_anycast\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:true,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_mobile\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:false,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_proxy\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:false,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_dc\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:true,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003edc_details\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003edc_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eCloudflare\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e},\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_ixp\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:false},\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003egeolocation\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ecity\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eMagomeni\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eregion\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eDar es Salaam\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ecountry\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eTanzania\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ecc\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eTZ\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e},\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ereputation\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003estatus\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003egood\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_known_good\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:true,\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eknown_as\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eCloudflare Public DNS\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e},\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003efingerprinting\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:{\u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eports\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e:[53,80,443]}}]}\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eExample 2: querying the server remotely using \u003ccode\u003ecurl\u003c/code\u003e (pretty printed output):\u003c/em\u003e\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"root@KRUSTY:~# curl -s \u0026quot;http://localhost:49200/asn_lookup_jsonp\u0026amp;10.0.0.1\u0026quot;\n{\n \u0026quot;target\u0026quot;: \u0026quot;10.0.0.1\u0026quot;,\n \u0026quot;target_type\u0026quot;: \u0026quot;ipv4\u0026quot;,\n \u0026quot;result\u0026quot;: \u0026quot;ok\u0026quot;,\n \u0026quot;reason\u0026quot;: \u0026quot;success\u0026quot;,\n \u0026quot;version\u0026quot;: \u0026quot;0.72.1\u0026quot;,\n \u0026quot;request_time\u0026quot;: \u0026quot;2022-03-29T00:14:57\u0026quot;,\n \u0026quot;request_duration\u0026quot;: 0,\n \u0026quot;result_count\u0026quot;: 1,\n \u0026quot;results\u0026quot;: [\n {\n \u0026quot;ip\u0026quot;: \u0026quot;10.0.0.1\u0026quot;,\n \u0026quot;ip_version\u0026quot;: \u0026quot;4\u0026quot;,\n \u0026quot;org_name\u0026quot;: \u0026quot;IANA\u0026quot;,\n \u0026quot;routing\u0026quot;: {\n \u0026quot;is_announced\u0026quot;: false,\n \u0026quot;net_name\u0026quot;: \u0026quot;PRIVATE-ADDRESS-ABLK-RFC1918-IANA-RESERVED\u0026quot;\n },\n \u0026quot;type\u0026quot;: {\n \u0026quot;is_bogon\u0026quot;: true,\n \u0026quot;bogon_type\u0026quot;: \u0026quot;rfc1918 (Private Space)\u0026quot;\n },\n \u0026quot;reputation\u0026quot;: {},\n \u0026quot;fingerprinting\u0026quot;: {}\n }\n ]\n}\"\u003e\u003cpre\u003eroot@KRUSTY:\u003cspan class=\"pl-k\"\u003e~\u003c/span\u003e\u003cspan class=\"pl-c\"\u003e\u003cspan class=\"pl-c\"\u003e#\u003c/span\u003e curl -s \"http://localhost:49200/asn_lookup_jsonp\u0026amp;10.0.0.1\"\u003c/span\u003e\n{\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etarget\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e10.0.0.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etarget_type\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eipv4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresult\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eok\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ereason\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003esuccess\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eversion\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e0.72.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erequest_time\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e2022-03-29T00:14:57\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erequest_duration\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: 0,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresult_count\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: 1,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eresults\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: [\n {\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eip\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e10.0.0.1\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eip_version\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e4\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eorg_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eIANA\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erouting\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: {\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_announced\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: false,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003enet_name\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ePRIVATE-ADDRESS-ABLK-RFC1918-IANA-RESERVED\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003etype\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: {\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003eis_bogon\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: true,\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ebogon_type\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003erfc1918 (Private Space)\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e\n },\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003ereputation\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: {},\n \u003cspan class=\"pl-s\"\u003e\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003efingerprinting\u003cspan class=\"pl-pds\"\u003e\"\u003c/span\u003e\u003c/span\u003e: {}\n }\n ]\n}\u003c/pre\u003e\u003c/div\u003e\n\u003chr\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eThanks\u003c/h2\u003e\u003ca id=\"user-content-thanks\" class=\"anchor\" aria-label=\"Permalink: Thanks\" href=\"#thanks\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eAn initial version of this script was featured in the \u003cstrong\u003eSecurity Trails\u003c/strong\u003e blog post \"\u003ca href=\"https://securitytrails.com/blog/asn-lookup#autonomous-system-lookup-script\" rel=\"nofollow\"\u003e\u003cem\u003eASN Lookup Tools, Strategies and Techniques\u003c/em\u003e\u003c/a\u003e\". Thank you \u003ca href=\"https://www.estebanborges.com/\" rel=\"nofollow\"\u003eEsteban\u003c/a\u003e!\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThanks \u003ca href=\"https://github.com/massimocandela/\"\u003eMassimo Candela\u003c/a\u003e for your support and excellent work on \u003ca href=\"https://ipmap.ripe.net/\" rel=\"nofollow\"\u003eIPmap\u003c/a\u003e, \u003ca href=\"https://github.com/massimocandela/BGPlay\"\u003eBGPlay\u003c/a\u003e and \u003ca href=\"https://github.com/RIPE-NCC/tracemon\"\u003eTraceMON\u003c/a\u003e!\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eThanks to all the awesome contributors for their code, ideas, suggestions, packages and bug reports!\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eFeedback and contributing\u003c/h2\u003e\u003ca id=\"user-content-feedback-and-contributing\" class=\"anchor\" aria-label=\"Permalink: Feedback and contributing\" href=\"#feedback-and-contributing\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eAny feedback or pull request to improve the code is welcome. Feel free to contribute!\u003c/p\u003e\n\u003c/article\u003e","loaded":true,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"ASN Lookup Tool and Traceroute Server","anchor":"asn-lookup-tool-and-traceroute-server","htmlText":"ASN Lookup Tool and Traceroute Server"},{"level":4,"text":"Container support:","anchor":"container-support","htmlText":"Container support:"},{"level":4,"text":"OS support:","anchor":"os-support","htmlText":"OS support:"},{"level":3,"text":"Table of contents:","anchor":"table-of-contents","htmlText":"Table of contents:"},{"level":2,"text":"Description","anchor":"description","htmlText":"Description"},{"level":4,"text":"Features:","anchor":"features","htmlText":"Features:"},{"level":2,"text":"Screenshots","anchor":"screenshots","htmlText":"Screenshots"},{"level":3,"text":"Generic usage","anchor":"generic-usage","htmlText":"Generic usage"},{"level":3,"text":"AS Path tracing","anchor":"as-path-tracing","htmlText":"AS Path tracing"},{"level":3,"text":"Network search by organization","anchor":"network-search-by-organization","htmlText":"Network search by organization"},{"level":3,"text":"Shodan scanning","anchor":"shodan-scanning","htmlText":"Shodan scanning"},{"level":3,"text":"Country IPv4/IPv6 CIDR mapping","anchor":"country-ipv4ipv6-cidr-mapping","htmlText":"Country IPv4/IPv6 CIDR mapping"},{"level":3,"text":"Bulk Geolocation / country stats","anchor":"bulk-geolocation--country-stats","htmlText":"Bulk Geolocation / country stats"},{"level":3,"text":"Suggested ASNs search","anchor":"suggested-asns-search","htmlText":"Suggested ASNs search"},{"level":3,"text":"Transit/Upstream lookup","anchor":"transitupstream-lookup","htmlText":"Transit/Upstream lookup"},{"level":2,"text":"Running the script from a container","anchor":"running-the-script-from-a-container","htmlText":"Running the script from a container"},{"level":2,"text":"Installation","anchor":"installation","htmlText":"Installation"},{"level":3,"text":"Method 1: Install prerequisites + manual download","anchor":"method-1-install-prerequisites--manual-download","htmlText":"Method 1: Install prerequisites + manual download"},{"level":3,"text":"Method 2: Installing a packaged version of the script","anchor":"method-2-installing-a-packaged-version-of-the-script","htmlText":"Method 2: Installing a packaged version of the script"},{"level":3,"text":"(Optional) Installing the asn server as a system service","anchor":"optional-installing-the-asn-server-as-a-system-service","htmlText":"(Optional) Installing the asn server as a system service"},{"level":2,"text":"API tokens","anchor":"api-tokens","htmlText":"API tokens"},{"level":3,"text":"Geolocation API token (ipinfo.io)","anchor":"geolocation-api-token-ipinfoio","htmlText":"Geolocation API token (ipinfo.io)"},{"level":3,"text":"IP reputation API token (IPQualityScore)","anchor":"ip-reputation-api-token-ipqualityscore","htmlText":"IP reputation API token (IPQualityScore)"},{"level":3,"text":"BGP hijack and route leak incidents (Cloudflare Radar)","anchor":"bgp-hijack-and-route-leak-incidents-cloudflare-radar","htmlText":"BGP hijack and route leak incidents (Cloudflare Radar)"},{"level":2,"text":"Usage","anchor":"usage","htmlText":"Usage"},{"level":5,"text":"Syntax","anchor":"syntax","htmlText":"Syntax"},{"level":5,"text":"Default behavior:","anchor":"default-behavior","htmlText":"Default behavior:"},{"level":5,"text":"Preferences file ($HOME/.asnrc)","anchor":"preferences-file-homeasnrc","htmlText":"Preferences file ($HOME/.asnrc)"},{"level":5,"text":"Detailed mode (-d | DETAILED_TRACE=true)","anchor":"detailed-mode--d--detailed_tracetrue","htmlText":"Detailed mode (-d | DETAILED_TRACE=true)"},{"level":5,"text":"Organization search (-o)","anchor":"organization-search--o","htmlText":"Organization search (-o)"},{"level":5,"text":"ASN suggest (-a)","anchor":"asn-suggest--a","htmlText":"ASN suggest (-a)"},{"level":5,"text":"Upstream/transit identification (-u)","anchor":"upstreamtransit-identification--u","htmlText":"Upstream/transit identification (-u)"},{"level":5,"text":"Server mode (-l)","anchor":"server-mode--l","htmlText":"Server mode (-l)"},{"level":2,"text":"Notes","anchor":"notes","htmlText":"Notes"},{"level":5,"text":"Organization data, IP Reputation, noise classification and IP fingerprinting","anchor":"organization-data-ip-reputation-noise-classification-and-ip-fingerprinting","htmlText":"Organization data, IP Reputation, noise classification and IP fingerprinting"},{"level":5,"text":"Geolocation","anchor":"geolocation","htmlText":"Geolocation"},{"level":5,"text":"IP Classification","anchor":"ip-classification","htmlText":"IP Classification"},{"level":5,"text":"IXP detection and unannounced prefixes","anchor":"ixp-detection-and-unannounced-prefixes","htmlText":"IXP detection and unannounced prefixes"},{"level":2,"text":"Running lookups from the browser","anchor":"running-lookups-from-the-browser","htmlText":"Running lookups from the browser"},{"level":5,"text":"Prerequisite tools for server mode","anchor":"prerequisite-tools-for-server-mode","htmlText":"Prerequisite tools for server mode"},{"level":5,"text":"Advantages of server mode","anchor":"advantages-of-server-mode","htmlText":"Advantages of server mode"},{"level":4,"text":"Server side","anchor":"server-side","htmlText":"Server side"},{"level":4,"text":"Client side","anchor":"client-side","htmlText":"Client side"},{"level":5,"text":"How it works","anchor":"how-it-works","htmlText":"How it works"},{"level":4,"text":"Search engine setup","anchor":"search-engine-setup","htmlText":"Search engine setup"},{"level":4,"text":"Running the server on an external host","anchor":"running-the-server-on-an-external-host","htmlText":"Running the server on an external host"},{"level":5,"text":"Port forwarding","anchor":"port-forwarding","htmlText":"Port forwarding"},{"level":5,"text":"Textual browser client","anchor":"textual-browser-client","htmlText":"Textual browser client"},{"level":5,"text":"Security considerations","anchor":"security-considerations","htmlText":"Security considerations"},{"level":2,"text":"Shodan scanning (Recon Mode)","anchor":"shodan-scanning-recon-mode","htmlText":"Shodan scanning (Recon Mode)"},{"level":2,"text":"Mapping the IP(v4/v6) address space of specific countries","anchor":"mapping-the-ipv4v6-address-space-of-specific-countries","htmlText":"Mapping the IP(v4/v6) address space of specific countries"},{"level":2,"text":"Bulk geolocation mode","anchor":"bulk-geolocation-mode","htmlText":"Bulk geolocation mode"},{"level":2,"text":"JSON output and API mode","anchor":"json-output-and-api-mode","htmlText":"JSON output and API mode"},{"level":4,"text":"Locally (shell mode)","anchor":"locally-shell-mode","htmlText":"Locally (shell mode)"},{"level":5,"text":"Command:","anchor":"command","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-1","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-1","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-2","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-2","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-3","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-3","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-4","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-4","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-5","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-5","htmlText":"Output:"},{"level":5,"text":"Command:","anchor":"command-6","htmlText":"Command:"},{"level":5,"text":"Output:","anchor":"output-6","htmlText":"Output:"},{"level":4,"text":"Remotely (API endpoint)","anchor":"remotely-api-endpoint","htmlText":"Remotely (API endpoint)"},{"level":2,"text":"Thanks","anchor":"thanks","htmlText":"Thanks"},{"level":2,"text":"Feedback and contributing","anchor":"feedback-and-contributing","htmlText":"Feedback and contributing"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn"}},{"displayName":"LICENSE","repoName":"asn","refName":"master","path":"LICENSE","preferredFileType":"license","tabName":"MIT","richText":null,"loaded":false,"timedOut":false,"errorMessage":null,"headerInfo":{"toc":null,"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn"}}],"overviewFilesProcessingTime":0}},"appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-708ec8ade250.js","githubDevUrl":null,"enabled_features":{"copilot_workspace":null,"code_nav_ui_events":false,"overview_shared_code_dropdown_button":true,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}}</script> <div data-target="react-partial.reactRoot"><style data-styled="true" data-styled-version="5.3.11">.iVEunk{margin-top:16px;margin-bottom:16px;}/*!sc*/ .jzuOtQ{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}/*!sc*/ .bGojzy{margin-bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:16px;}/*!sc*/ .iNSVHo{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;padding-bottom:16px;padding-top:8px;}/*!sc*/ .bVgnfw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;gap:8px;}/*!sc*/ @media screen and (max-width:320px){.bVgnfw{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}}/*!sc*/ .CEgMp{position:relative;}/*!sc*/ @media screen and (max-width:380px){.CEgMp .ref-selector-button-text-container{max-width:80px;}}/*!sc*/ @media screen and (max-width:320px){.CEgMp{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}.CEgMp .overview-ref-selector{width:100%;}.CEgMp .overview-ref-selector > span{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.CEgMp .overview-ref-selector > span > span[data-component="text"]{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}}/*!sc*/ .gMOVLe[data-size="medium"]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-width:0;}/*!sc*/ .gMOVLe[data-size="medium"] svg{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .gMOVLe[data-size="medium"] > span{width:inherit;}/*!sc*/ .gUkoLg{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}/*!sc*/ .bZBlpz{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;}/*!sc*/ .lhTYNA{margin-right:4px;color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .ffLUq{font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}/*!sc*/ .bmcJak{min-width:0;}/*!sc*/ .fLXEGX{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (max-width:1079px){.fLXEGX{display:none;}}/*!sc*/ .lmSMZJ[data-size="medium"]{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));padding-left:4px;padding-right:4px;}/*!sc*/ .lmSMZJ[data-size="medium"] span[data-component="leadingVisual"]{margin-right:4px !important;}/*!sc*/ .dqfxud{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:1080px){.dqfxud{display:none;}}/*!sc*/ @media screen and (max-width:543px){.dqfxud{display:none;}}/*!sc*/ .fGwBZA[data-size="medium"][data-no-visuals]{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));}/*!sc*/ .jxTzTd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-left:8px;gap:8px;}/*!sc*/ .gqqBXN{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:8px;}/*!sc*/ @media screen and (max-width:543px){.gqqBXN{display:none;}}/*!sc*/ .dzXgxt{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (max-width:1011px){.dzXgxt{display:none;}}/*!sc*/ .iWFGlI{margin-left:8px;margin-right:8px;margin:0;}/*!sc*/ .vcvyP{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-width:160px;}/*!sc*/ .YUPas{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:1012px){.YUPas{display:none;}}/*!sc*/ .izFOf{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}/*!sc*/ @media screen and (min-width:544px){.izFOf{display:none;}}/*!sc*/ .vIPPs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;}/*!sc*/ .fdROMU{width:100%;border-collapse:separate;border-spacing:0;border:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));border-radius:6px;table-layout:fixed;overflow:unset;}/*!sc*/ .jGKpsv{height:0px;line-height:0px;}/*!sc*/ .jGKpsv tr{height:0px;font-size:0px;}/*!sc*/ .jdgHnn{padding:16px;color:var(--fgColor-muted,var(--color-fg-muted,#656d76));font-size:12px;text-align:left;height:40px;}/*!sc*/ .jdgHnn th{padding-left:16px;background-color:var(--bgColor-muted,var(--color-canvas-subtle,#f6f8fa));}/*!sc*/ .bQivRW{width:100%;border-top-left-radius:6px;}/*!sc*/ @media screen and (min-width:544px){.bQivRW{display:none;}}/*!sc*/ .ldkMIO{width:40%;border-top-left-radius:6px;}/*!sc*/ @media screen and (max-width:543px){.ldkMIO{display:none;}}/*!sc*/ .jMbWeI{text-align:right;padding-right:16px;width:136px;border-top-right-radius:6px;}/*!sc*/ .gpqjiB{color:var(--fgColor-muted,var(--color-fg-muted,#656d76));font-size:12px;height:40px;}/*!sc*/ .dzCJzi{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;min-width:273px;padding:8px;}/*!sc*/ @media screen and (min-width:544px){.dzCJzi{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;}}/*!sc*/ .eNCcrz{text-align:center;vertical-align:center;height:40px;border-top:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));}/*!sc*/ .bHTcCe{border-top:1px solid var(--borderColor-default,var(--color-border-default));cursor:pointer;}/*!sc*/ .csrIcr{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:16px;}/*!sc*/ .bUQNHB{border:1px solid;border-color:var(--borderColor-default,var(--color-border-default,#d0d7de));border-radius:6px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}/*!sc*/ @media screen and (max-width:543px){.bUQNHB{margin-left:-16px;margin-right:-16px;max-width:calc(100% + 32px);}}/*!sc*/ @media screen and (min-width:544px){.bUQNHB{max-width:100%;}}/*!sc*/ .jPdcfu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:var(--borderColor-default,var(--color-border-default,#d0d7de));-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:8px;position:-webkit-sticky;position:sticky;top:0;background-color:var(--bgColor-default,var(--color-canvas-default,#ffffff));z-index:1;border-top-left-radius:6px;border-top-right-radius:6px;}/*!sc*/ .iphEWz{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;border-bottom:none;max-width:100%;padding-left:8px;padding-right:8px;}/*!sc*/ .hUCRAk{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}/*!sc*/ .cwoBXV[data-size="medium"]{color:var(--fgColor-muted,var(--color-fg-subtle,#6e7781));padding-left:8px;padding-right:8px;}/*!sc*/ .QkQOb{padding:32px;overflow:auto;}/*!sc*/ data-styled.g1[id="Box-sc-g0xbh4-0"]{content:"iVEunk,jzuOtQ,bGojzy,iNSVHo,bVgnfw,CEgMp,gMOVLe,gUkoLg,bZBlpz,lhTYNA,ffLUq,bmcJak,fLXEGX,lmSMZJ,dqfxud,fGwBZA,jxTzTd,gqqBXN,dzXgxt,iWFGlI,vcvyP,YUPas,izFOf,vIPPs,fdROMU,jGKpsv,jdgHnn,bQivRW,ldkMIO,jMbWeI,gpqjiB,dzCJzi,eNCcrz,bHTcCe,csrIcr,bUQNHB,jPdcfu,iphEWz,hUCRAk,cwoBXV,QkQOb,"}/*!sc*/ .brGdpi{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip:rect(0,0,0,0);clip:rect(0,0,0,0);white-space:nowrap;border-width:0;}/*!sc*/ data-styled.g5[id="_VisuallyHidden__VisuallyHidden-sc-11jhm7a-0"]{content:"brGdpi,"}/*!sc*/ .hWlpPn{position:relative;display:inline-block;}/*!sc*/ .hWlpPn::after{position:absolute;z-index:1000000;display:none;padding:0.5em 0.75em;font:normal normal 11px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";-webkit-font-smoothing:subpixel-antialiased;color:var(--tooltip-fgColor,var(--fgColor-onEmphasis,var(--color-fg-on-emphasis,#ffffff)));text-align:center;-webkit-text-decoration:none;text-decoration:none;text-shadow:none;text-transform:none;-webkit-letter-spacing:normal;-moz-letter-spacing:normal;-ms-letter-spacing:normal;letter-spacing:normal;word-wrap:break-word;white-space:pre;pointer-events:none;content:attr(aria-label);background:var(--tooltip-bgColor,var(--bgColor-emphasis,var(--color-neutral-emphasis-plus,#24292f)));border-radius:6px;opacity:0;}/*!sc*/ @-webkit-keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}/*!sc*/ @keyframes tooltip-appear{from{opacity:0;}to{opacity:1;}}/*!sc*/ .hWlpPn:hover::after,.hWlpPn:active::after,.hWlpPn:focus::after,.hWlpPn:focus-within::after{display:inline-block;-webkit-text-decoration:none;text-decoration:none;-webkit-animation-name:tooltip-appear;animation-name:tooltip-appear;-webkit-animation-duration:0.1s;animation-duration:0.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-animation-delay:0s;animation-delay:0s;}/*!sc*/ .hWlpPn.tooltipped-no-delay:hover::after,.hWlpPn.tooltipped-no-delay:active::after,.hWlpPn.tooltipped-no-delay:focus::after,.hWlpPn.tooltipped-no-delay:focus-within::after{-webkit-animation-delay:0s;animation-delay:0s;}/*!sc*/ .hWlpPn.tooltipped-multiline:hover::after,.hWlpPn.tooltipped-multiline:active::after,.hWlpPn.tooltipped-multiline:focus::after,.hWlpPn.tooltipped-multiline:focus-within::after{display:table-cell;}/*!sc*/ .hWlpPn.tooltipped-s::after,.hWlpPn.tooltipped-se::after,.hWlpPn.tooltipped-sw::after{top:100%;right:50%;margin-top:6px;}/*!sc*/ .hWlpPn.tooltipped-se::after{right:auto;left:50%;margin-left:-16px;}/*!sc*/ .hWlpPn.tooltipped-sw::after{margin-right:-16px;}/*!sc*/ .hWlpPn.tooltipped-n::after,.hWlpPn.tooltipped-ne::after,.hWlpPn.tooltipped-nw::after{right:50%;bottom:100%;margin-bottom:6px;}/*!sc*/ .hWlpPn.tooltipped-ne::after{right:auto;left:50%;margin-left:-16px;}/*!sc*/ .hWlpPn.tooltipped-nw::after{margin-right:-16px;}/*!sc*/ .hWlpPn.tooltipped-s::after,.hWlpPn.tooltipped-n::after{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);}/*!sc*/ .hWlpPn.tooltipped-w::after{right:100%;bottom:50%;margin-right:6px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);}/*!sc*/ .hWlpPn.tooltipped-e::after{bottom:50%;left:100%;margin-left:6px;-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);}/*!sc*/ .hWlpPn.tooltipped-multiline::after{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:250px;word-wrap:break-word;white-space:pre-line;border-collapse:separate;}/*!sc*/ .hWlpPn.tooltipped-multiline.tooltipped-s::after,.hWlpPn.tooltipped-multiline.tooltipped-n::after{right:auto;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);}/*!sc*/ .hWlpPn.tooltipped-multiline.tooltipped-w::after,.hWlpPn.tooltipped-multiline.tooltipped-e::after{right:100%;}/*!sc*/ .hWlpPn.tooltipped-align-right-2::after{right:0;margin-right:0;}/*!sc*/ .hWlpPn.tooltipped-align-left-2::after{left:0;margin-left:0;}/*!sc*/ data-styled.g16[id="Tooltip__TooltipBase-sc-17tf59c-0"]{content:"hWlpPn,"}/*!sc*/ .liVpTx{display:inline-block;overflow:hidden;text-overflow:ellipsis;vertical-align:top;white-space:nowrap;max-width:125px;}/*!sc*/ data-styled.g18[id="Truncate__StyledTruncate-sc-23o1d2-0"]{content:"liVpTx,"}/*!sc*/ </style> <!-- --> <!-- --> <div class="Box-sc-g0xbh4-0 iVEunk"><div class="Box-sc-g0xbh4-0 jzuOtQ"><div class="Box-sc-g0xbh4-0 bGojzy"></div></div><div class="Box-sc-g0xbh4-0 iNSVHo"><div class="Box-sc-g0xbh4-0 bVgnfw"><div class="Box-sc-g0xbh4-0 CEgMp"><button type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" aria-label="master branch" data-testid="anchor-button" class="Box-sc-g0xbh4-0 gMOVLe prc-Button-ButtonBase-c50BI overview-ref-selector width-full" data-loading="false" data-size="medium" data-variant="default" aria-describedby="branch-picker-repos-header-ref-selector-loading-announcement" id="branch-picker-repos-header-ref-selector"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="text" class="prc-Button-Label-pTQ3x"><div class="Box-sc-g0xbh4-0 bZBlpz"><div class="Box-sc-g0xbh4-0 lhTYNA"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></div><div class="Box-sc-g0xbh4-0 ffLUq ref-selector-button-text-container"><span class="Box-sc-g0xbh4-0 bmcJak prc-Text-Text-0ima0"> <!-- -->master</span></div></div></span><span data-component="trailingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><button hidden="" data-hotkey-scope="read-only-cursor-text-area"></button></div><div class="Box-sc-g0xbh4-0 fLXEGX"><a style="--button-color:fg.muted" type="button" href="/nitefood/asn/branches" class="Box-sc-g0xbh4-0 lmSMZJ prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rclab:-loading-announcement"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Branches</span></span></a><a style="--button-color:fg.muted" type="button" href="/nitefood/asn/tags" class="Box-sc-g0xbh4-0 lmSMZJ prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rklab:-loading-announcement"><span data-component="buttonContent" class="Box-sc-g0xbh4-0 gUkoLg prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-tag" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Tags</span></span></a></div><div class="Box-sc-g0xbh4-0 dqfxud"><a style="--button-color:fg.muted" type="button" aria-label="Go to Branches page" href="/nitefood/asn/branches" class="Box-sc-g0xbh4-0 fGwBZA prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Relab:-loading-announcement"><svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path></svg></a><a style="--button-color:fg.muted" type="button" aria-label="Go to Tags page" href="/nitefood/asn/tags" class="Box-sc-g0xbh4-0 fGwBZA prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="invisible" aria-describedby=":Rmlab:-loading-announcement"><svg aria-hidden="true" focusable="false" class="octicon octicon-tag" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path></svg></a></div></div><div class="Box-sc-g0xbh4-0 jxTzTd"><div class="Box-sc-g0xbh4-0 gqqBXN"><div class="Box-sc-g0xbh4-0 dzXgxt"><!--$--><div class="Box-sc-g0xbh4-0 iWFGlI"><span class="Box-sc-g0xbh4-0 vcvyP TextInput-wrapper prc-components-TextInputWrapper-i1ofR prc-components-TextInputBaseWrapper-ueK9q" data-leading-visual="true" data-trailing-visual="true" aria-busy="false"><span class="TextInput-icon" id=":R2j5ab:" aria-hidden="true"><svg aria-hidden="true" focusable="false" class="octicon octicon-search" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"></path></svg></span><input type="text" aria-label="Go to file" role="combobox" aria-controls="file-results-list" aria-expanded="false" aria-haspopup="dialog" autoCorrect="off" spellcheck="false" placeholder="Go to file" aria-describedby=":R2j5ab: :R2j5abH1:" data-component="input" class="prc-components-Input-Ic-y8" value=""/><span class="TextInput-icon" id=":R2j5abH1:" aria-hidden="true"></span></span></div><!--/$--></div><div class="Box-sc-g0xbh4-0 YUPas"><button type="button" class="prc-Button-ButtonBase-c50BI" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":Rr5ab:-loading-announcement"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="text" class="prc-Button-Label-pTQ3x">Go to file</span></span></button></div><div class="react-directory-add-file-icon"></div><div class="react-directory-remove-file-icon"></div></div><button type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="primary" aria-describedby=":R55ab:-loading-announcement" id=":R55ab:"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-code hide-sm" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x">Code</span><span data-component="trailingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-triangle-down" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"></path></svg></span></span></button><div class="Box-sc-g0xbh4-0 izFOf"><button data-component="IconButton" type="button" aria-label="Open more actions menu" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-c50BI prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":R75ab:-loading-announcement" id=":R75ab:"><svg aria-hidden="true" focusable="false" class="octicon octicon-kebab-horizontal" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg></button></div></div></div><div class="Box-sc-g0xbh4-0 vIPPs"><div data-hpc="true"><button hidden="" data-testid="focus-next-element-button" data-hotkey="j"></button><button hidden="" data-testid="focus-previous-element-button" data-hotkey="k"></button><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading" id="folders-and-files">Folders and files</h2><table aria-labelledby="folders-and-files" class="Box-sc-g0xbh4-0 fdROMU"><thead class="Box-sc-g0xbh4-0 jGKpsv"><tr class="Box-sc-g0xbh4-0 jdgHnn"><th colSpan="2" class="Box-sc-g0xbh4-0 bQivRW"><span class="text-bold">Name</span></th><th colSpan="1" class="Box-sc-g0xbh4-0 ldkMIO"><span class="text-bold">Name</span></th><th class="hide-sm"><div title="Last commit message" class="Truncate__StyledTruncate-sc-23o1d2-0 liVpTx width-fit"><span class="text-bold">Last commit message</span></div></th><th colSpan="1" class="Box-sc-g0xbh4-0 jMbWeI"><div title="Last commit date" class="Truncate__StyledTruncate-sc-23o1d2-0 liVpTx width-fit"><span class="text-bold">Last commit date</span></div></th></tr></thead><tbody><tr class="Box-sc-g0xbh4-0 gpqjiB"><td colSpan="3" class="bgColor-muted p-1 rounded-top-2"><div class="Box-sc-g0xbh4-0 dzCJzi"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading">Latest commit</h2><div style="width:120px" class="Skeleton Skeleton--text" data-testid="loading"> </div><div class="d-flex flex-shrink-0 gap-2"><div data-testid="latest-commit-details" class="d-none d-sm-flex flex-items-center"></div><div class="d-flex gap-2"><h2 class="sr-only ScreenReaderHeading-module__userSelectNone--vW4Cq prc-Heading-Heading-6CmGO" data-testid="screen-reader-heading">History</h2><a href="/nitefood/asn/commits/master/" class="prc-Button-ButtonBase-c50BI d-none d-lg-flex LinkButton-module__code-view-link-button--xvCGA flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible" aria-describedby=":Raqj8pab:-loading-announcement"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span><span data-component="text" class="prc-Button-Label-pTQ3x"><span class="fgColor-default">154 Commits</span></span></span></a><div class="d-sm-none"></div><div class="d-flex d-lg-none"><span role="tooltip" aria-label="154 Commits" id="history-icon-button-tooltip" class="Tooltip__TooltipBase-sc-17tf59c-0 hWlpPn tooltipped-n"><a href="/nitefood/asn/commits/master/" class="prc-Button-ButtonBase-c50BI LinkButton-module__code-view-link-button--xvCGA flex-items-center fgColor-default" data-loading="false" data-size="small" data-variant="invisible" aria-describedby=":R1iqj8pab:-loading-announcement history-icon-button-tooltip"><span data-component="buttonContent" data-align="center" class="prc-Button-ButtonContent-HKbr-"><span data-component="leadingVisual" class="prc-Button-Visual-2epfX prc-Button-VisualWrap-Db-eB"><svg aria-hidden="true" focusable="false" class="octicon octicon-history" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="m.427 1.927 1.215 1.215a8.002 8.002 0 1 1-1.6 5.685.75.75 0 1 1 1.493-.154 6.5 6.5 0 1 0 1.18-4.458l1.358 1.358A.25.25 0 0 1 3.896 6H.25A.25.25 0 0 1 0 5.75V2.104a.25.25 0 0 1 .427-.177ZM7.75 4a.75.75 0 0 1 .75.75v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5A.75.75 0 0 1 7.75 4Z"></path></svg></span></span></a></span></div></div></div></div></td></tr><tr class="react-directory-row undefined" id="folder-row-0"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="This path skips through empty directories" aria-label=".github/workflows, (Directory)" class="Link--primary" href="/nitefood/asn/tree/master/.github/workflows"><span class="react-directory-default-color" data-testid="path-name-segment">.github/</span><span class="" data-testid="path-name-segment">workflows</span></a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file-directory-fill icon-directory" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="This path skips through empty directories" aria-label=".github/workflows, (Directory)" class="Link--primary" href="/nitefood/asn/tree/master/.github/workflows"><span class="react-directory-default-color" data-testid="path-name-segment">.github/</span><span class="" data-testid="path-name-segment">workflows</span></a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-1"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".editorconfig" aria-label=".editorconfig, (File)" class="Link--primary" href="/nitefood/asn/blob/master/.editorconfig">.editorconfig</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title=".editorconfig" aria-label=".editorconfig, (File)" class="Link--primary" href="/nitefood/asn/blob/master/.editorconfig">.editorconfig</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-2"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Dockerfile" aria-label="Dockerfile, (File)" class="Link--primary" href="/nitefood/asn/blob/master/Dockerfile">Dockerfile</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="Dockerfile" aria-label="Dockerfile, (File)" class="Link--primary" href="/nitefood/asn/blob/master/Dockerfile">Dockerfile</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-3"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="LICENSE" aria-label="LICENSE, (File)" class="Link--primary" href="/nitefood/asn/blob/master/LICENSE">LICENSE</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="LICENSE" aria-label="LICENSE, (File)" class="Link--primary" href="/nitefood/asn/blob/master/LICENSE">LICENSE</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-4"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="README.md" aria-label="README.md, (File)" class="Link--primary" href="/nitefood/asn/blob/master/README.md">README.md</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="README.md" aria-label="README.md, (File)" class="Link--primary" href="/nitefood/asn/blob/master/README.md">README.md</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-5"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="asn" aria-label="asn, (File)" class="Link--primary" href="/nitefood/asn/blob/master/asn">asn</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="asn" aria-label="asn, (File)" class="Link--primary" href="/nitefood/asn/blob/master/asn">asn</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-6"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="asn.1" aria-label="asn.1, (File)" class="Link--primary" href="/nitefood/asn/blob/master/asn.1">asn.1</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="asn.1" aria-label="asn.1, (File)" class="Link--primary" href="/nitefood/asn/blob/master/asn.1">asn.1</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="react-directory-row undefined" id="folder-row-7"><td class="react-directory-row-name-cell-small-screen" colSpan="2"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="cloudshell_bootstrap.sh" aria-label="cloudshell_bootstrap.sh, (File)" class="Link--primary" href="/nitefood/asn/blob/master/cloudshell_bootstrap.sh">cloudshell_bootstrap.sh</a></div></div></div></div></td><td class="react-directory-row-name-cell-large-screen" colSpan="1"><div class="react-directory-filename-column"><svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"></path></svg><div class="overflow-hidden"><div class="react-directory-filename-cell"><div class="react-directory-truncate"><a title="cloudshell_bootstrap.sh" aria-label="cloudshell_bootstrap.sh, (File)" class="Link--primary" href="/nitefood/asn/blob/master/cloudshell_bootstrap.sh">cloudshell_bootstrap.sh</a></div></div></div></div></td><td class="react-directory-row-commit-cell"><div class="Skeleton Skeleton--text"> </div></td><td><div class="Skeleton Skeleton--text"> </div></td></tr><tr class="Box-sc-g0xbh4-0 eNCcrz d-none" data-testid="view-all-files-row"><td colSpan="3" class="Box-sc-g0xbh4-0 bHTcCe"><div><button class="prc-Link-Link-85e08">View all files</button></div></td></tr></tbody></table></div><div class="Box-sc-g0xbh4-0 csrIcr"><div class="Box-sc-g0xbh4-0 bUQNHB"><div itemscope="" itemType="https://schema.org/abstract" class="Box-sc-g0xbh4-0 jPdcfu"><h2 class="_VisuallyHidden__VisuallyHidden-sc-11jhm7a-0 brGdpi">Repository files navigation</h2><nav class="Box-sc-g0xbh4-0 iphEWz prc-components-UnderlineWrapper-oOh5J" aria-label="Repository files"><ul class="prc-components-UnderlineItemList-b23Hf" role="list"><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#" aria-current="page"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-book" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path></svg></span><span data-component="text" data-content="README">README</span></a></li><li class="Box-sc-g0xbh4-0 hUCRAk"><a class="prc-components-UnderlineItem-lJsg-" href="#"><span data-component="icon"><svg aria-hidden="true" focusable="false" class="octicon octicon-law" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path></svg></span><span data-component="text" data-content="MIT license">MIT license</span></a></li></ul></nav><button style="--button-color:fg.subtle" type="button" aria-label="Outline" aria-haspopup="true" aria-expanded="false" tabindex="0" class="Box-sc-g0xbh4-0 cwoBXV prc-Button-ButtonBase-c50BI" data-loading="false" data-size="medium" data-variant="invisible" aria-describedby=":Rr9ab:-loading-announcement" id=":Rr9ab:"><svg aria-hidden="true" focusable="false" class="octicon octicon-list-unordered" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom"><path d="M5.75 2.5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5ZM2 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM2 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></svg></button></div><div class="Box-sc-g0xbh4-0 QkQOb js-snippet-clipboard-copy-unpositioned undefined" data-hpc="true"><article class="markdown-body entry-content container-lg" itemprop="text"><div class="markdown-heading" dir="auto"><h1 tabindex="-1" class="heading-element" dir="auto">ASN Lookup Tool and Traceroute Server</h1><a id="user-content-asn-lookup-tool-and-traceroute-server" class="anchor" aria-label="Permalink: ASN Lookup Tool and Traceroute Server" href="#asn-lookup-tool-and-traceroute-server"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a href="https://repology.org/project/asn/versions" rel="nofollow"><img src="https://camo.githubusercontent.com/d03b317b359ff66876cf703304f18536f9ebb3a8bae0e812afe0d114267ae0c8/68747470733a2f2f7265706f6c6f67792e6f72672f62616467652f766572746963616c2d616c6c7265706f732f61736e2e737667" alt="Packaging status" data-canonical-src="https://repology.org/badge/vertical-allrepos/asn.svg" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Container support:</h4><a id="user-content-container-support" class="anchor" aria-label="Permalink: Container support:" href="#container-support"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a href="#running-the-script-from-a-container"><img src="https://camo.githubusercontent.com/c9a85f6869aa992f1500dd9d4d4bdff7d405605292ca152587394c1f92552d4f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f636b65722d2532333064623765642e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d646f636b6572266c6f676f436f6c6f723d7768697465" alt="Docker" data-canonical-src="https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&amp;logo=docker&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#running-the-script-from-a-container"><img src="https://camo.githubusercontent.com/0803e71d7164cc4981c78ebdbc694b84c20800ca471c185caa101813ea58edc2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f6f676c65436c6f75642d2532333432383546342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d676f6f676c652d636c6f7564266c6f676f436f6c6f723d7768697465" alt="Google Cloud" data-canonical-src="https://img.shields.io/badge/GoogleCloud-%234285F4.svg?style=for-the-badge&amp;logo=google-cloud&amp;logoColor=white" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">OS support:</h4><a id="user-content-os-support" class="anchor" aria-label="Permalink: OS support:" href="#os-support"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><a href="#installation"><img src="https://camo.githubusercontent.com/77e58a7962de20328a75e1eb4a03284368b619f9a7b2152c03308bea8ba71ccf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f44656269616e2d4437304135333f7374796c653d666f722d7468652d6261646765266c6f676f3d64656269616e266c6f676f436f6c6f723d7768697465" alt="Debian" data-canonical-src="https://img.shields.io/badge/Debian-D70A53?style=for-the-badge&amp;logo=debian&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/dd44c065577f813a8d6c976fef88976f812eed4bfcfa20fa6b23ebb899a09531/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5562756e74752d4539353432303f7374796c653d666f722d7468652d6261646765266c6f676f3d7562756e7475266c6f676f436f6c6f723d7768697465" alt="Ubuntu" data-canonical-src="https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&amp;logo=ubuntu&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/baef6b3f5a6ca926f918b4fe0f7f02b6790c1cd65435a7172199ac07668c487c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b616c692d3236384245453f7374796c653d666f722d7468652d6261646765266c6f676f3d6b616c696c696e7578266c6f676f436f6c6f723d7768697465" alt="Kali" data-canonical-src="https://img.shields.io/badge/Kali-268BEE?style=for-the-badge&amp;logo=kalilinux&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/e725ba7dd3250e9e20090cd2b1acc4e4f3cc7f181c86050304a804438a7eacfa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63656e742532306f732d3030323236303f7374796c653d666f722d7468652d6261646765266c6f676f3d63656e746f73266c6f676f436f6c6f723d463046304630" alt="Cent OS" data-canonical-src="https://img.shields.io/badge/cent%20os-002260?style=for-the-badge&amp;logo=centos&amp;logoColor=F0F0F0" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/e9dab3e3c313f5fd0786b9be4210003fa462b4d79cae2be55d21f4bd29e89db4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5265642532304861742d4545303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d726564686174266c6f676f436f6c6f723d7768697465" alt="Red Hat" data-canonical-src="https://img.shields.io/badge/Red%20Hat-EE0000?style=for-the-badge&amp;logo=redhat&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/439a2d5969486ed0610cdd360544947dfe8beb089b3c3d183e93ade540377a63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d526f636b792532304c696e75782d2532333130423938313f7374796c653d666f722d7468652d6261646765266c6f676f3d726f636b796c696e7578266c6f676f436f6c6f723d7768697465" alt="Rocky Linux" data-canonical-src="https://img.shields.io/badge/-Rocky%20Linux-%2310B981?style=for-the-badge&amp;logo=rockylinux&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/19813fb067b1c96e62b8e5e017d60958bdcbce01d869f2d77dd490b0c6f4e635/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4665646f72612d3239343137323f7374796c653d666f722d7468652d6261646765266c6f676f3d6665646f7261266c6f676f436f6c6f723d7768697465" alt="Fedora" data-canonical-src="https://img.shields.io/badge/Fedora-294172?style=for-the-badge&amp;logo=fedora&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/72f7521b72e8efa081ea337df1df1ad7ae2949e69da3fc9ab382bc1d6c94b5e6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417263682532304c696e75782d3137393344313f6c6f676f3d617263682d6c696e7578266c6f676f436f6c6f723d666666267374796c653d666f722d7468652d6261646765" alt="Arch" data-canonical-src="https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&amp;logoColor=fff&amp;style=for-the-badge" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/6ce19fc6c17500da64cd46e06e3e359b448520ac94e99a7b195d186a1838fbb1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d616e6a61726f2d3335424635433f7374796c653d666f722d7468652d6261646765266c6f676f3d4d616e6a61726f266c6f676f436f6c6f723d7768697465" alt="Manjaro" data-canonical-src="https://img.shields.io/badge/Manjaro-35BF5C?style=for-the-badge&amp;logo=Manjaro&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/862bdebea36a2bafe81cc9ace93b2b2f54b7f77d3516118dbb8d9297093c2e6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f416c70696e655f4c696e75782d2532333044353937462e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d616c70696e652d6c696e7578266c6f676f436f6c6f723d7768697465" alt="Alpine Linux" data-canonical-src="https://img.shields.io/badge/Alpine_Linux-%230D597F.svg?style=for-the-badge&amp;logo=alpine-linux&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/63f923bb259190b07a135fc25fd7f41ef31782ec710cb1baf2905e17eec99d88/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e535553452d3733424132353f6c6f676f3d6f70656e73757365266c6f676f436f6c6f723d666666267374796c653d666f722d7468652d6261646765" alt="openSUSE" data-canonical-src="https://img.shields.io/badge/openSUSE-73BA25?logo=opensuse&amp;logoColor=fff&amp;style=for-the-badge" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/b0e2a350c9fa3edb6514af086e22497c53d19870231d3cd6740059ff115d2063/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d467265654253442d2532333837303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d66726565627364266c6f676f436f6c6f723d7768697465" alt="FreeBSD" data-canonical-src="https://img.shields.io/badge/-FreeBSD-%23870000?style=for-the-badge&amp;logo=freebsd&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/2dfd2370dda9643586f99163bc490fda679f500262c460c0ed0b3aba5cc1e69a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e49582d3532373743332e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d4e69784f53266c6f676f436f6c6f723d7768697465" alt="Nix" data-canonical-src="https://img.shields.io/badge/NIX-5277C3.svg?style=for-the-badge&amp;logo=NixOS&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/04687ce3613669e12a6f991ece6c64a4e51067a44f041332d70c4f83a6141908/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61632532306f732d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d6d61636f73266c6f676f436f6c6f723d463046304630" alt="macOS" data-canonical-src="https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&amp;logo=macos&amp;logoColor=F0F0F0" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/1cc3ed014dbb3cc907789013096c44d0bc78875ee219d9455f619ff18059ac4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57696e646f77732d3030373844363f7374796c653d666f722d7468652d6261646765266c6f676f3d77696e646f7773266c6f676f436f6c6f723d7768697465" alt="Windows" data-canonical-src="https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&amp;logo=windows&amp;logoColor=white" style="max-width: 100%;"></a> <a href="#installation"><img src="https://camo.githubusercontent.com/e635b4861e2ce6b1eee90d8dbe1d28a5529d87f3ebf706fc023cae66a266de22/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d52617370626572727950692d4335314134413f7374796c653d666f722d7468652d6261646765266c6f676f3d5261737062657272792d5069" alt="Raspberry Pi" data-canonical-src="https://img.shields.io/badge/-RaspberryPi-C51A4A?style=for-the-badge&amp;logo=Raspberry-Pi" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Table of contents:</h3><a id="user-content-table-of-contents" class="anchor" aria-label="Permalink: Table of contents:" href="#table-of-contents"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li><a href="#description">Description</a></li> <li><a href="#screenshots">Screenshots</a></li> <li><a href="#running-the-script-from-a-container">Running the script from a container</a></li> <li><a href="#installation">Installation</a> <ul dir="auto"> <li><em>Optional: adding your <a href="#api-tokens">API tokens</a> to improve functionalities</em></li> </ul> </li> <li><a href="#usage">Usage (as a command line tool)</a></li> <li><a href="#running-lookups-from-the-browser">Usage (as a lookup &amp; traceroute server)</a></li> <li><a href="#json-output-and-api-mode">Usage (as a lookup API with JSON output)</a></li> </ul> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Description</h2><a id="user-content-description" class="anchor" aria-label="Permalink: Description" href="#description"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup tool / Web traceroute server.</p> <p dir="auto">This script serves the purpose of having a quick OSINT <strong>command line tool</strong> at disposal when investigating network data, which can come in handy in incident response scenarios as well (with features such as <a href="#bulk-geolocation-mode">bulk geolocation</a> and threat scoring).</p> <p dir="auto">It can be used as a <strong>recon tool</strong> by querying Shodan for data about any type of target (CIDR blocks/URLs/single IPs/hostnames). This will quickly give the user a complete breakdown about open ports, known vulnerabilities, known software and hardware running on the target, and more - without ever sending a single packet to the target. JSON output of the results, multiple simultaneous targets and IP list file inputs and are also supported. Click <a href="#shodan-scanning-recon-mode">here</a> for more information about Shodan scanning mode.</p> <p dir="auto">It can also be used as a <strong>web-based traceroute server</strong>, by running it in listening mode and launching lookups and traces from a local or remote browser (via a bookmarklet or custom search engine) or terminal (via <code>curl</code>, <code>elinks</code> or similar tools). Click <a href="#running-lookups-from-the-browser">here</a> for more information about server mode functionality.</p> <p dir="auto">Furthermore, it can serve as a self-hosted lookup <strong>API endpoint</strong> and output JSON-formatted data while running in both interactive and server mode. Click <a href="#json-output-and-api-mode">here</a> for more information about API mode functionality.</p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Features:</h4><a id="user-content-features" class="anchor" aria-label="Permalink: Features:" href="#features"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto">It will lookup relevant Autonomous System information for any given AS number, including:</p> <ul dir="auto"> <li><strong>Organization name and RIR region</strong></li> <li><strong>IXP Presence</strong> (<em>Internet Exchange facilities where the AS is present</em>)</li> <li><strong>Global AS rank</strong> (<em>derived from the size of its customer cone, number of peering relationships and more</em>)</li> <li><strong>BGP statistics</strong> (<em>neighbours count, originated v4/v6 prefix count</em>)</li> <li><strong>BGP incident history</strong> (number of <em>BGP hijacks</em> and <em>route leaks</em> involving the target AS in the past 12 months, as a <strong>victim</strong> or a <strong>hijacker</strong>)</li> <li><strong>Peering relationships</strong> separated by type (<em>upstream/downstream/uncertain</em>), and sorted by observed <em>path count</em>, to give more reliable results (so for instance, the first few upstream peers are most likely to be transits). Furthermore, a recap of <em>transits/peers/customers</em> amount (per latest CAIDA data) is displayed.</li> <li><strong>Announced prefixes</strong> aggregated to the most relevant less-specific <code>INET(6)NUM</code> object (actual <a href="https://www.ripe.net/manage-ips-and-asns/db/support/documentation/ripe-database-documentation/rpsl-object-types/4-2-descriptions-of-primary-objects/4-2-4-description-of-the-inetnum-object" rel="nofollow">LIR allocation</a>).</li> </ul> </li> <li> <p dir="auto">It will perform an <strong>AS path trace</strong> (using <a href="https://github.com/traviscross/mtr">mtr</a> and retrieving AS data from the results) for single IPs or DNS results, optionally reporting detailed data for each hop, such as RPKI ROA validity, organization/network name, geographic location, etc.</p> </li> <li> <p dir="auto">It will detect <strong>IXPs</strong> (Internet Exchange Points) traversed during the trace, and highlight them for clarity.</p> </li> <li> <p dir="auto">It will attempt to lookup all relevant <strong>abuse contacts</strong> for any given IP or prefix.</p> </li> <li> <p dir="auto">It will perform <strong>RPKI validity</strong> lookups for every possible IP. Data is validated using the <a href="https://stat.ripe.net/docs/data_api#rpki-validation" rel="nofollow">RIPEStat RPKI validation API</a>. For path traces, the tool will match each hop's ASN/Prefix pair (retrieved from the Prefix Whois public server) with relevant published RPKI ROAs. In case of origin AS mismatch or unallowed more-specific prefixes, it will warn the user of a potential <strong>route leak / BGP hijack</strong> along with the offending AS in the path (requires <code>-d</code> option, see below for usage info).</p> <ul dir="auto"> <li><em>Read more about BGP hijacking <a href="https://en.wikipedia.org/wiki/BGP_hijacking" rel="nofollow">here</a>.</em></li> <li><em>Read more about RPKI <a href="https://en.wikipedia.org/wiki/Resource_Public_Key_Infrastructure" rel="nofollow">here</a>, <a href="https://blog.cloudflare.com/rpki/" rel="nofollow">here</a>, or <a href="https://www.ripe.net/manage-ips-and-asns/resource-management/certification" rel="nofollow">here</a>.</em></li> </ul> </li> <li> <p dir="auto">It will perform <strong>IP geolocation</strong> lookups according to the logic described <a href="#geolocation">below</a>.</p> <ul dir="auto"> <li>geolocation can be performed in <strong>bulk mode</strong>. See <a href="#bulk-geolocation-mode">here</a> for more info.</li> <li>the script can also <strong>map all IPv4/IPv6 CIDR blocks</strong> allocated to any given country, by querying data from Marcel Bischoff's <a href="https://github.com/herrbischoff/country-ip-blocks">country-ip-blocks</a> repo. See <a href="#mapping-the-ipv4v6-address-space-of-specific-countries">below</a> for more info.</li> </ul> </li> <li> <p dir="auto">It will perform <strong>IP reputation, noise classification</strong> and in-depth <strong>threat analysis</strong> reporting (especially useful when investigating foreign IPs from log files).</p> </li> <li> <p dir="auto">It will perform <strong>IP fingerprinting</strong> using Shodan's InternetDB API and report any known <strong>vulnerabilities</strong>, <strong>open ports</strong> and <strong>services/operating system/hardware</strong> pertaining to target IPs and individual trace hops (detailed traces only).</p> <ul dir="auto"> <li>Directly querying Shodan for any type of targets (including CIDR blocks) is also possible. More information <a href="#shodan-scanning-recon-mode">here</a> about how to use the script as a recon tool.</li> </ul> </li> <li> <p dir="auto">It will perform <strong>IP type identification</strong> (<em>Anycast IP/Mobile network/Proxy host/Datacenter or hosting provider/IXP prefix</em>) for target IPs and individual trace hops. Broad type classification comes from <a href="https://ip-api.com" rel="nofollow">ip-api</a>, while detailed DC+region identification comes from <a href="https://incolumitas.com/pages/Datacenter-IP-API/" rel="nofollow">incolumitas.com</a></p> <ul dir="auto"> <li>It will also identify <strong>bogon</strong> addresses being traversed and classify them according to the relevant RFC (Private address space/CGN space/Test address/link-local/reserved/etc.)</li> </ul> </li> <li> <p dir="auto">It is possible to search by <strong>organization name</strong> in order to retrieve a list of IPv4/6 network ranges related to a given company. A multiple choice menu will be presented if more than one organization matches the search query.</p> </li> <li> <p dir="auto">It is possible to search for <strong>ASNs matching a given name</strong>, in order to map the ASNs for a given organization. The list will be enriched by each result's AS rank and useful tags highlighting the highest-ranking ASNs found.</p> </li> <li> <p dir="auto">It is possible to quickly identify the <strong>transit/upstream AS network(s)</strong> for a given prefix, through analysis of observed BGP updates and ASPATHs.</p> <ul dir="auto"> <li>the tool will also inform the user when a prefix is likely coming from a large tier-1 or multihomed network.</li> </ul> </li> <li> <p dir="auto">Lookup data can be integrated by third party tools by choosing <strong>JSON output</strong> and parsing the results externally, turning the script into a lookup API endpoint.</p> </li> </ul> <p dir="auto">Screenshots for every lookup option are below.</p> <p dir="auto">The script uses the following services for data retrieval:</p> <ul dir="auto"> <li><a href="https://team-cymru.com/community-services/ip-asn-mapping/" rel="nofollow">Team Cymru</a></li> <li><a href="https://pwhois.org/" rel="nofollow">The Prefix WhoIs Project</a></li> <li><a href="https://www.peeringdb.com/" rel="nofollow">PeeringDB</a></li> <li><a href="https://asrank.caida.org/" rel="nofollow">CAIDA ASRank</a></li> <li><a href="https://ifconfig.co/" rel="nofollow">ifconfig.co</a></li> <li><a href="https://www.ipify.org/" rel="nofollow">ipify</a></li> <li><a href="https://ipinfo.io" rel="nofollow">ipinfo.io</a></li> <li><a href="https://stat.ripe.net/" rel="nofollow">RIPEStat</a></li> <li><a href="https://ipmap.ripe.net/" rel="nofollow">RIPE IPmap</a></li> <li><a href="https://ip-api.com/" rel="nofollow">ip-api</a></li> <li><a href="https://www.stopforumspam.com/" rel="nofollow">StopForumSpam</a></li> <li><a href="https://www.ipqualityscore.com" rel="nofollow">IP Quality Score</a></li> <li><a href="https://radar.cloudflare.com/" rel="nofollow">Cloudflare Radar</a></li> <li><a href="https://isc.sans.edu/" rel="nofollow">ISC DSHIELD</a></li> <li><a href="https://greynoise.io" rel="nofollow">GreyNoise</a></li> <li><a href="https://www.shodan.io/" rel="nofollow">Shodan</a></li> <li><a href="https://nvd.nist.gov/" rel="nofollow">NIST National Vulnerability Database</a></li> <li><a href="https://incolumitas.com/pages/Datacenter-IP-API/" rel="nofollow">Incolumitas.com</a></li> <li><a href="https://restcountries.com/" rel="nofollow">RestCountries</a></li> <li>Marcel Bischoff's <a href="https://github.com/herrbischoff/country-ip-blocks">country-ip-blocks</a> repo</li> </ul> <p dir="auto">It also provides hyperlinks (in <a href="#running-lookups-from-the-browser">server</a> mode) to the following external services when appropriate:</p> <ul dir="auto"> <li><a href="https://bgp.he.net" rel="nofollow">HE.net</a></li> <li><a href="https://bgpview.io" rel="nofollow">BGPView</a></li> <li><a href="https://bgp.tools" rel="nofollow">BGPTools</a></li> <li><a href="https://ipinfo.io" rel="nofollow">ipinfo.io</a></li> <li><a href="https://host.io" rel="nofollow">Host.io</a></li> <li><a href="https://radar.cloudflare.com/" rel="nofollow">Cloudflare Radar</a></li> </ul> <p dir="auto">Requires Bash v4.2+. Tested on:</p> <ul dir="auto"> <li>Linux</li> <li>FreeBSD</li> <li>Windows (WSL2, Cygwin)</li> <li>MacOS <em>(thanks <a href="https://github.com/Antonio-Prado">Antonio Prado</a> and Alessandro Barisone)</em></li> </ul> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Screenshots</h2><a id="user-content-screenshots" class="anchor" aria-label="Permalink: Screenshots" href="#screenshots"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Generic usage</h3><a id="user-content-generic-usage" class="anchor" aria-label="Permalink: Generic usage" href="#generic-usage"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>IPv4 lookup with IP type detection (Anycast, Hosting/DC) and classification as good</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285046567-81def31a-e080-4b01-9aa2-25b979062963.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDY1NjctODFkZWYzMWEtZTA4MC00YjAxLTlhYTItMjViOTc5MDYyOTYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0M2E3YTYxODIzMzFjNjZjZDM0YWJlMGUxZTVkNTE4ZDUxNDA3MGZjODZlOTE4YTk5OGJkNTFmOGRjOWM5YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.geEfd6Vj_jI-EU6N2x0gjU_uj3xGLSWO78Ce9sQiv3Y"><img src="https://private-user-images.githubusercontent.com/24555810/285046567-81def31a-e080-4b01-9aa2-25b979062963.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDY1NjctODFkZWYzMWEtZTA4MC00YjAxLTlhYTItMjViOTc5MDYyOTYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM0M2E3YTYxODIzMzFjNjZjZDM0YWJlMGUxZTVkNTE4ZDUxNDA3MGZjODZlOTE4YTk5OGJkNTFmOGRjOWM5YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.geEfd6Vj_jI-EU6N2x0gjU_uj3xGLSWO78Ce9sQiv3Y" alt="ipv4lookup" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>IPv4 lookup (bad reputation IP) with threat analysis/scoring, CPE/CVE identification and open ports reporting</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285047222-302dc69f-7026-4f41-afe6-e24c4d0a514a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDcyMjItMzAyZGM2OWYtNzAyNi00ZjQxLWFmZTYtZTI0YzRkMGE1MTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiMWM5OWI2MThjNjM0MmYzYTA5YzUyYjFmZjdhNjViNzViZTgxMTcxZjM2ZWM5NGVlMzI0ZDA4ZjAzN2I5OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8FUDiMeg1xbVryKN0umfpd-UEjvex9odR38__WYcbuY"><img src="https://private-user-images.githubusercontent.com/24555810/285047222-302dc69f-7026-4f41-afe6-e24c4d0a514a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDcyMjItMzAyZGM2OWYtNzAyNi00ZjQxLWFmZTYtZTI0YzRkMGE1MTRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJiMWM5OWI2MThjNjM0MmYzYTA5YzUyYjFmZjdhNjViNzViZTgxMTcxZjM2ZWM5NGVlMzI0ZDA4ZjAzN2I5OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.8FUDiMeg1xbVryKN0umfpd-UEjvex9odR38__WYcbuY" alt="ipv4badlookup" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>IP fingerprinting with advanced datacenter+region identification, known vulnerabilities affecting the target and honeypot identification according to Shodan data</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/159185618-fa20f45c-91b4-45b4-ad82-02becc648fa5.png"><img src="https://user-images.githubusercontent.com/24555810/159185618-fa20f45c-91b4-45b4-ad82-02becc648fa5.png" alt="" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>IPv6 lookup</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/159185780-44a1af6e-7aa9-4f52-b04c-55a314b2a5e3.png"><img src="https://user-images.githubusercontent.com/24555810/159185780-44a1af6e-7aa9-4f52-b04c-55a314b2a5e3.png" alt="ipv6lookup" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>Autonomous system number lookup with AS ranking, operational region, BGP stats and incident history, peering and prefix information</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/359848676-9ae33fe8-6069-48e6-a4a3-ea74d2f351e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zNTk4NDg2NzYtOWFlMzNmZTgtNjA2OS00OGU2LWE0YTMtZWE3NGQyZjM1MWUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NjMxMmQ4YzA1OWI4ZDczYWM3NjFkNzkxOGM2ZDM2MDJjMDcyZmIzYjQwNzA3YTQwYzAxNmEwMDQ2NjBkNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eMddJvaqYxPj1baZ5O2fmToKIY3kBKWzddeTtK8KKPE"><img src="https://private-user-images.githubusercontent.com/24555810/359848676-9ae33fe8-6069-48e6-a4a3-ea74d2f351e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zNTk4NDg2NzYtOWFlMzNmZTgtNjA2OS00OGU2LWE0YTMtZWE3NGQyZjM1MWUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3NjMxMmQ4YzA1OWI4ZDczYWM3NjFkNzkxOGM2ZDM2MDJjMDcyZmIzYjQwNzA3YTQwYzAxNmEwMDQ2NjBkNjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eMddJvaqYxPj1baZ5O2fmToKIY3kBKWzddeTtK8KKPE" alt="asnlookup" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>Hostname/URL lookup</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285048065-f6c71594-d38a-4c7c-9142-5aa1e203f3fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDgwNjUtZjZjNzE1OTQtZDM4YS00YzdjLTkxNDItNWFhMWUyMDNmM2ZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2OWM2N2NkYmFjOGJiNWIxMWQ5MTAxNWJhZmRkOGE0YjU2MWRlMTIzYjQ3Yjk0ZGNkN2VjNDc2ZWI2MTM1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Q3u0-HlNREskXscrHbfBGSNViFALaKDERfdnjLA4eY"><img src="https://private-user-images.githubusercontent.com/24555810/285048065-f6c71594-d38a-4c7c-9142-5aa1e203f3fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDgwNjUtZjZjNzE1OTQtZDM4YS00YzdjLTkxNDItNWFhMWUyMDNmM2ZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2OWM2N2NkYmFjOGJiNWIxMWQ5MTAxNWJhZmRkOGE0YjU2MWRlMTIzYjQ3Yjk0ZGNkN2VjNDc2ZWI2MTM1OGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Q3u0-HlNREskXscrHbfBGSNViFALaKDERfdnjLA4eY" alt="hostnamelookup" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">AS Path tracing</h3><a id="user-content-as-path-tracing" class="anchor" aria-label="Permalink: AS Path tracing" href="#as-path-tracing"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>ASPath trace to <a href="http://www.github.com">www.github.com</a></em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285051028-8dfa68ba-de39-47f4-96d3-618210197e70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTEwMjgtOGRmYTY4YmEtZGUzOS00N2Y0LTk2ZDMtNjE4MjEwMTk3ZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmMjlhYTk3ZWIwYTU4MDNiNWFkMTU3YWZkZWExMDNlZWEzYTU5MzIyYjUzOGRlNDIwNGZlODEwZDhmZTNkOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wUaFARZ1xj-dx_YXIO5f_xLauKojR7Gj4O6tVEpR05E"><img src="https://private-user-images.githubusercontent.com/24555810/285051028-8dfa68ba-de39-47f4-96d3-618210197e70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTEwMjgtOGRmYTY4YmEtZGUzOS00N2Y0LTk2ZDMtNjE4MjEwMTk3ZTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmMjlhYTk3ZWIwYTU4MDNiNWFkMTU3YWZkZWExMDNlZWEzYTU5MzIyYjUzOGRlNDIwNGZlODEwZDhmZTNkOGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wUaFARZ1xj-dx_YXIO5f_xLauKojR7Gj4O6tVEpR05E" alt="pathtrace" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>ASPath trace traversing both an unannounced PNI prefix (FASTWEB-&gt;SWISSCOM at hop 11) and an IXP (SWISSCOM -&gt; RCN through Equinix Ashburn at hop 16)</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/100301579-b4d00c00-2f98-11eb-82c5-047c190ffcd6.png"><img src="https://user-images.githubusercontent.com/24555810/100301579-b4d00c00-2f98-11eb-82c5-047c190ffcd6.png" alt="pathtrace_pni_ixp" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>Detailed ASPath trace to 8.8.8.8 traversing the Milan Internet Exchange (MIX) IXP peering LAN at hop 6</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/117335188-28a50780-ae9b-11eb-98d9-cfd3bc2f1295.png"><img src="https://user-images.githubusercontent.com/24555810/117335188-28a50780-ae9b-11eb-98d9-cfd3bc2f1295.png" alt="detailed_pathtrace" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Network search by organization</h3><a id="user-content-network-search-by-organization" class="anchor" aria-label="Permalink: Network search by organization" href="#network-search-by-organization"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>Organization search for "github"</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/99845076-5b20a980-2b74-11eb-9312-986867034cc9.png"><img src="https://user-images.githubusercontent.com/24555810/99845076-5b20a980-2b74-11eb-9312-986867034cc9.png" alt="search_by_org" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Shodan scanning</h3><a id="user-content-shodan-scanning" class="anchor" aria-label="Permalink: Shodan scanning" href="#shodan-scanning"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>Scanning for Shodan information for a list of IPs</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/307993947-550d3004-9cbc-404e-b74c-9248a2d0bb0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zMDc5OTM5NDctNTUwZDMwMDQtOWNiYy00MDRlLWI3NGMtOTI0OGEyZDBiYjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2ZWU3NTlhMzQ3NGYyOTI2MzgyY2QwOGVlZjAyMmRiYmQ0YjZiMTgxYmYyZjA2NWM0ZTVmNDQzOWU0NjI1NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Pw2wsyKpnCHpILy2TWmAf02mOM_i4UrBMcKcY2onQ_o"><img src="https://private-user-images.githubusercontent.com/24555810/307993947-550d3004-9cbc-404e-b74c-9248a2d0bb0f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8zMDc5OTM5NDctNTUwZDMwMDQtOWNiYy00MDRlLWI3NGMtOTI0OGEyZDBiYjBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2ZWU3NTlhMzQ3NGYyOTI2MzgyY2QwOGVlZjAyMmRiYmQ0YjZiMTgxYmYyZjA2NWM0ZTVmNDQzOWU0NjI1NGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Pw2wsyKpnCHpILy2TWmAf02mOM_i4UrBMcKcY2onQ_o" alt="shodanscan" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Country IPv4/IPv6 CIDR mapping</h3><a id="user-content-country-ipv4ipv6-cidr-mapping" class="anchor" aria-label="Permalink: Country IPv4/IPv6 CIDR mapping" href="#country-ipv4ipv6-cidr-mapping"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>Displaying a list of CIDR blocks allocated to Jamaica</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/163061676-bae440c6-ff0d-478e-8799-98a927600964.png"><img src="https://user-images.githubusercontent.com/24555810/163061676-bae440c6-ff0d-478e-8799-98a927600964.png" alt="country_cidr" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Bulk Geolocation / country stats</h3><a id="user-content-bulk-geolocation--country-stats" class="anchor" aria-label="Permalink: Bulk Geolocation / country stats" href="#bulk-geolocation--country-stats"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>Performing bulk extraction, geolocation and stats for IPs from a logfile</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/162656545-11db3759-6741-44e0-bcfb-f3542482415f.png"><img src="https://user-images.githubusercontent.com/24555810/162656545-11db3759-6741-44e0-bcfb-f3542482415f.png" alt="bulk_geolocation" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Suggested ASNs search</h3><a id="user-content-suggested-asns-search" class="anchor" aria-label="Permalink: Suggested ASNs search" href="#suggested-asns-search"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>Suggested ASNs (and respective AS rankings) for "google"</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285049369-c8bd8cab-9894-4886-94b5-bfd6bb0b9d8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDkzNjktYzhiZDhjYWItOTg5NC00ODg2LTk0YjUtYmZkNmJiMGI5ZDhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzYjU0NjYwZjRjMjI1Y2JkOWYxMGE3YTA3MmUzYTkzYmQ0NzA2MWJjYjkxNjVmNjYwNDYyMGY3MjFjMWMyNTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4B1tx8cC-UfL6P7ADeXyKx3g1mxshXQdLi3L3l2bGrQ"><img src="https://private-user-images.githubusercontent.com/24555810/285049369-c8bd8cab-9894-4886-94b5-bfd6bb0b9d8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNDkzNjktYzhiZDhjYWItOTg5NC00ODg2LTk0YjUtYmZkNmJiMGI5ZDhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzYjU0NjYwZjRjMjI1Y2JkOWYxMGE3YTA3MmUzYTkzYmQ0NzA2MWJjYjkxNjVmNjYwNDYyMGY3MjFjMWMyNTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4B1tx8cC-UfL6P7ADeXyKx3g1mxshXQdLi3L3l2bGrQ" alt="asnsuggest" style="max-width: 100%;"></a></p> </li> </ul> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Transit/Upstream lookup</h3><a id="user-content-transitupstream-lookup" class="anchor" aria-label="Permalink: Transit/Upstream lookup" href="#transitupstream-lookup"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li> <p dir="auto"><em>A large tier-1 network (<strong>COMCAST</strong>, AS7922) prefix is reachable through multiple other tier-1 networks like <strong>COGENT</strong> (AS174), <strong>LEVEL3</strong> (AS3356) etc. - likely through settlement-free peering rather than BGP transit:</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/285054817-4a6a00d9-7a8c-4765-a4d6-ea99aa516200.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTQ4MTctNGE2YTAwZDktN2E4Yy00NzY1LWE0ZDYtZWE5OWFhNTE2MjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMTgzMDA5OTE5NzNjOGU3MjYyM2NiN2VmNDVkMmI2NDM4NTAxYzllMGEwNTFjOGU4NmY0ZGI0NWYyNTBhMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MnFH6hs6lZ4EfYomrFtyCS2WXwI-COtTWF8EEHQqsOM"><img src="https://private-user-images.githubusercontent.com/24555810/285054817-4a6a00d9-7a8c-4765-a4d6-ea99aa516200.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yODUwNTQ4MTctNGE2YTAwZDktN2E4Yy00NzY1LWE0ZDYtZWE5OWFhNTE2MjAwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMTgzMDA5OTE5NzNjOGU3MjYyM2NiN2VmNDVkMmI2NDM4NTAxYzllMGEwNTFjOGU4NmY0ZGI0NWYyNTBhMzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MnFH6hs6lZ4EfYomrFtyCS2WXwI-COtTWF8EEHQqsOM" alt="upstreamfinder_tier1_network" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>Transit identification for a multihomed AS (<strong>AS30036</strong> announces this prefix to <strong>Hurricane</strong> and <strong>GTT</strong> in a balanced way):</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/237801244-6c036a97-83f8-4c37-9ebd-2717c2d53507.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDEyNDQtNmMwMzZhOTctODNmOC00YzM3LTllYmQtMjcxN2MyZDUzNTA3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0ZjQ4OTMwN2U5ZmIwNDdjMzkxZDNkNTllMzZmNzEzY2M2ZjU3MjM2OGQ3YmI3MmM2OTVkODMxYjY2MmQ3NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pTZru4asW6sidNqIAWMALG6VCvmtQ8lBvQaJ9SoDVY4"><img src="https://private-user-images.githubusercontent.com/24555810/237801244-6c036a97-83f8-4c37-9ebd-2717c2d53507.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDEyNDQtNmMwMzZhOTctODNmOC00YzM3LTllYmQtMjcxN2MyZDUzNTA3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA0ZjQ4OTMwN2U5ZmIwNDdjMzkxZDNkNTllMzZmNzEzY2M2ZjU3MjM2OGQ3YmI3MmM2OTVkODMxYjY2MmQ3NTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pTZru4asW6sidNqIAWMALG6VCvmtQ8lBvQaJ9SoDVY4" alt="upstreamfinder_multihoming" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto"><em>Preferred transit identification - <strong>Chinese UNICOM AS</strong> is a large network, but likely prefers Russian <strong>TRANSTELECOM</strong> (AS20485) transit over <strong>TELIA</strong> (AS1299), <strong>HURRICANE</strong> (AS6939), <strong>GTT</strong> (AS3257) and others:</em></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/24555810/237800413-dbb64ecc-394a-4fbd-8607-5b7f6955b340.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDA0MTMtZGJiNjRlY2MtMzk0YS00ZmJkLTg2MDctNWI3ZjY5NTViMzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMzQyNDM3ZDAzNGY4OWEyMmFjNDc2OGY0MTBkYThmMzkyMzU0ZWMwYmMyMzMyNWYxOTExZjFjZmMyNmNkYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F4vJVvZqHs61NkXkOC2mOFihJSO_rG_CbmR-YxQhnvY"><img src="https://private-user-images.githubusercontent.com/24555810/237800413-dbb64ecc-394a-4fbd-8607-5b7f6955b340.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDQzMzQzOTMsIm5iZiI6MTc0NDMzNDA5MywicGF0aCI6Ii8yNDU1NTgxMC8yMzc4MDA0MTMtZGJiNjRlY2MtMzk0YS00ZmJkLTg2MDctNWI3ZjY5NTViMzQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA0MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNDExVDAxMTQ1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwMzQyNDM3ZDAzNGY4OWEyMmFjNDc2OGY0MTBkYThmMzkyMzU0ZWMwYmMyMzMyNWYxOTExZjFjZmMyNmNkYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.F4vJVvZqHs61NkXkOC2mOFihJSO_rG_CbmR-YxQhnvY" alt="upstreamfinder_preferred_transit" style="max-width: 100%;"></a></p> </li> </ul> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Running the script from a container</h2><a id="user-content-running-the-script-from-a-container" class="anchor" aria-label="Permalink: Running the script from a container" href="#running-the-script-from-a-container"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">To run the script without installing it locally, you have the following options:</p> <ul dir="auto"> <li> <p dir="auto"><strong>Docker</strong> <em>(thanks <a href="https://github.com/33Fraise33">Gianni Stubbe</a>, <a href="https://github.com/anarcat">anarcat</a>, <a href="https://github.com/fcolista">Francesco Colista</a>, <a href="https://github.com/arbal">arbal</a>)</em></p> <p dir="auto"><em>Note: the Docker image runs by default in server mode, if no parameters are given. This is equivalent to running the tool as <code>asn -l ::</code> (run server, bind to all interfaces - this is necessary to expose the server port to the host machine). You can run the server with different <a href="#syntax">options</a> by explicitly passing <code>-l [options]</code>. It's also possible to pass an <a href="#ip-reputation-api-token-ipqualityscore">IpQualityScore</a>, <a href="#geolocation-api-token-ipinfoio">ipinfo.io</a> and/or <a href="#bgp-hijack-and-route-leak-incidents-cloudflare-radar">Cloudflare</a> API token (both client and server runs) by setting, respectively, the <code>IQS_TOKEN</code>, <code>IPINFO_TOKEN</code> and <code>CLOUDFLARE_TOKEN</code> environment variables (examples below) in the container.</em></p> <p dir="auto">Usage examples:</p> <ul dir="auto"> <li>Start server: <code>docker run -it -p 49200:49200 nitefood/asn</code></li> <li>Client mode: <code>docker run -it nitefood/asn 1.1.1.1</code></li> <li>Supply an IQS token: <code>docker run -it -e IQS_TOKEN="xxx" nitefood/asn [...]</code></li> <li>Supply multiple tokens: <code>docker run -it -e IQS_TOKEN="xxx" -e IPINFO_TOKEN="yyy" -e CLOUDFLARE_TOKEN="zzz" nitefood/asn [...]</code></li> </ul> </li> <li> <p dir="auto"><strong>Google Cloud Shell</strong></p> <p dir="auto"><em>Note: server mode <strong>is supported</strong> out of the box in Cloud Shell, just follow the <strong>bookmarklet</strong> link that will be shown at server launch to access the VM for remote lookups.</em></p> <p dir="auto"><strong>1.</strong> Clone the repository in Cloud Shell by clicking the following button:</p> <p dir="auto"><a href="https://shell.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/nitefood/asn&amp;ephemeral=true&amp;show=terminal" rel="nofollow"><img src="https://camo.githubusercontent.com/198b1d237c4023111c3f163552130daf552a0a684ea7a8ed1adc98c9b7f59659/68747470733a2f2f677374617469632e636f6d2f636c6f75647373682f696d616765732f6f70656e2d62746e2e737667" alt="Open in Cloud Shell" data-canonical-src="https://gstatic.com/cloudssh/images/open-btn.svg" style="max-width: 100%;"></a></p> <p dir="auto"><strong>2.</strong> Prepare the GCP environment by launching <code>./cloudshell_bootstrap.sh</code></p> <p dir="auto"><strong>3.</strong> <em>(OPTIONAL)</em> Input your <a href="#api-tokens">API tokens</a> when requested to enable full script features</p> </li> </ul> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Installation</h2><a id="user-content-installation" class="anchor" aria-label="Permalink: Installation" href="#installation"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">This script requires <strong>BASH v4.2</strong> or later. You can check your version by running from your shell:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bash -c 'echo $BASH_VERSION'"><pre class="notranslate"><code>bash -c 'echo $BASH_VERSION' </code></pre></div> <p dir="auto">After installation, you can use the script by running the <code>asn</code> command.</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Method 1: Install prerequisites + manual download</h3><a id="user-content-method-1-install-prerequisites--manual-download" class="anchor" aria-label="Permalink: Method 1: Install prerequisites + manual download" href="#method-1-install-prerequisites--manual-download"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <blockquote> <p dir="auto"><em>Note: this method is <strong>recommended</strong> as it will always get you the <strong>latest version</strong> of the script.</em></p> </blockquote> <details><summary><b>STEP 1. Install prerequisite packages</b></summary><p dir="auto"> </p><p dir="auto">Some packages are required for full functionality:</p> <ul dir="auto"> <li> <p dir="auto"><strong>Debian 10 / Ubuntu 20.04 (or newer):</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap ncat aha"><pre class="notranslate"><code>apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap ncat aha </code></pre></div> </li> <li> <p dir="auto"><strong>Debian 9 / Ubuntu 18.04 (or older):</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap git gcc make &amp;&amp; \ git clone https://github.com/theZiz/aha.git &amp;&amp; \ make install -C aha/"><pre class="notranslate"><code>apt -y install curl whois bind9-host mtr-tiny jq ipcalc grepcidr nmap git gcc make &amp;&amp; \ git clone https://github.com/theZiz/aha.git &amp;&amp; \ make install -C aha/ </code></pre></div> </li> <li> <p dir="auto"><strong>CentOS / RHEL / Rocky Linux 9:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dnf -y install epel-release &amp;&amp; \ dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr"><pre class="notranslate"><code>dnf -y install epel-release &amp;&amp; \ dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr </code></pre></div> </li> <li> <p dir="auto"><strong>CentOS / RHEL / Rocky Linux 8:</strong> <em>(thanks <a href="https://github.com/robert-scheck">Robert Scheck</a>)</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dnf -y install epel-release 'dnf-command(copr)' &amp;&amp; \ dnf -y copr enable robert/ipcalc &amp;&amp; \ dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr"><pre class="notranslate"><code>dnf -y install epel-release 'dnf-command(copr)' &amp;&amp; \ dnf -y copr enable robert/ipcalc &amp;&amp; \ dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr </code></pre></div> </li> <li> <p dir="auto"><strong>CentOS / RHEL 7:</strong> <em>(thanks <a href="https://github.com/robert-scheck">Robert Scheck</a>)</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yum -y install epel-release yum-plugin-copr &amp;&amp; \ yum -y copr enable robert/ipcalc &amp;&amp; \ yum -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr &amp;&amp; \ hash -d ipcalc"><pre class="notranslate"><code>yum -y install epel-release yum-plugin-copr &amp;&amp; \ yum -y copr enable robert/ipcalc &amp;&amp; \ yum -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr &amp;&amp; \ hash -d ipcalc </code></pre></div> </li> <li> <p dir="auto"><strong>Fedora:</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr"><pre class="notranslate"><code>dnf -y install curl whois bind-utils mtr jq nmap nmap-ncat ipcalc aha grepcidr </code></pre></div> </li> <li> <p dir="auto"><strong>openSUSE Leap 15.5 (or newer), openSUSE Tumbleweed</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="zypper in -y curl whois bind-utils mtr jq nmap ncat ipcalc aha grepcidr"><pre class="notranslate"><code>zypper in -y curl whois bind-utils mtr jq nmap ncat ipcalc aha grepcidr </code></pre></div> </li> <li> <p dir="auto"><strong>FreeBSD</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="env ASSUME_ALWAYS_YES=YES pkg install bash coreutils curl whois mtr jq ipcalc grepcidr nmap aha"><pre class="notranslate"><code>env ASSUME_ALWAYS_YES=YES pkg install bash coreutils curl whois mtr jq ipcalc grepcidr nmap aha </code></pre></div> </li> <li> <p dir="auto"><strong>Windows</strong>:</p> <ul dir="auto"> <li> <p dir="auto"><strong>using <a href="https://docs.microsoft.com/en-us/windows/wsl/about" rel="nofollow">WSL2</a> (recommended):</strong> Install Windows Subsystem for Linux (v2) by following Microsoft's <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10#manual-installation-steps" rel="nofollow">guide</a>. On step 6, choose one of the Linux distributions listed above (Ubuntu 20.04 LTS is recommended). Once your WSL2 system is up and running, open a Linux terminal and follow the prerequisite installation instructions above for your distribution of choice.</p> <blockquote> <p dir="auto"><em>Note for WSL2 users: Check <a href="https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/" rel="nofollow">this</a> page for details on how to activate <strong>systemd</strong> if you plan to install the <a href="#optional-installing-the-asn-server-as-a-system-service">asn service</a>.</em></p> </blockquote> </li> <li> <p dir="auto"><strong>using <a href="https://cygwin.com/index.html" rel="nofollow">Cygwin</a>:</strong> Most of the prerequisite packages listed above for <em>Debian 10 / Ubuntu 20.04 (or newer)</em> are obtainable directly with Cygwin's own Setup wizard (or through scripts like <em>apt-cyg</em>). You will still have to manually compile (or find a suitable third-party precompiled binary) the <em>mtr</em>, <em>grepcidr</em> and <em>aha</em> tools. Instructions on how to do so can be found directly on the respective projects homepages.</p> </li> </ul> </li> </ul> <p dir="auto"></p></details> <details><summary><b>STEP 2. Script download and installation</b></summary><p dir="auto"> </p><p dir="auto">Afterwards, to install the <strong>asn</strong> script from your shell to <strong>/usr/bin</strong>:</p> <p dir="auto"><code>curl "https://raw.githubusercontent.com/nitefood/asn/master/asn" &gt; /usr/bin/asn &amp;&amp; chmod 0755 /usr/bin/asn</code></p> <p dir="auto"></p></details> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Method 2: Installing a packaged version of the script</h3><a id="user-content-method-2-installing-a-packaged-version-of-the-script" class="anchor" aria-label="Permalink: Method 2: Installing a packaged version of the script" href="#method-2-installing-a-packaged-version-of-the-script"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <blockquote> <p dir="auto"><em>Note: packages may not reflect the latest version, check <a href="https://repology.org/project/asn/versions" rel="nofollow">Repology</a> first.</em></p> </blockquote> <p dir="auto">Packaged versions of the tool are available for the following distributions:</p> <details><summary><b>Distribution list</b></summary><p dir="auto"> </p><ul dir="auto"> <li> <p dir="auto"><strong>Debian-based:</strong> <em>(thanks <a href="https://github.com/odaydebian">Marcos Rodrigues de Carvalho</a>)</em></p> <blockquote> <p dir="auto"><em>Debian 13 / Sid</em><br> <em>Ubuntu 24.04 (or newer)</em><br> <em>Kali (rolling)</em><br> <em>Raspbian (testing)</em></p> </blockquote> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sudo apt update &amp;&amp; sudo apt install asn"><pre class="notranslate"><code>sudo apt update &amp;&amp; sudo apt install asn </code></pre></div> </li> <li> <p dir="auto"><strong>Manjaro / Arch Linux:</strong> <em>(thanks <a href="https://github.com/worty">Worty</a>)</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yay -S asn-git"><pre class="notranslate"><code>yay -S asn-git </code></pre></div> </li> <li> <p dir="auto"><strong>Alpine Linux 3.18 (or newer)</strong> <em>(thanks <a href="https://github.com/fcolista">Francesco Colista</a>)</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.19/community asn"><pre class="notranslate"><code>apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.19/community asn </code></pre></div> </li> <li> <p dir="auto"><strong>NixOS</strong> <em>(thanks <a href="https://github.com/devhell">devhell</a>)</em></p> <ul dir="auto"> <li>Package <a href="https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/as/asn">here</a></li> </ul> </li> <li> <p dir="auto"><strong>MacOS</strong> <em>(using <a href="https://formulae.brew.sh/formula/asn" rel="nofollow">Homebrew</a>, thanks <a href="https://github.com/filippovitale">filippovitale</a>)</em></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="brew install asn"><pre class="notranslate"><code>brew install asn </code></pre></div> <blockquote> <p dir="auto"><em>Note for MacOS users:</em></p> <p dir="auto"><em>Homebrew has a <a href="https://github.com/Homebrew/homebrew-core/issues/35085#issuecomment-447184214" data-hovercard-type="issue" data-hovercard-url="/Homebrew/homebrew-core/issues/35085/hovercard">policy</a> not to install any binary with the <strong>setuid</strong> bit, and mtr (or actually, the mtr-packet helper binary that comes with it) requires to elevate to root to perform traces (good explanations for this can be found <a href="https://github.com/traviscross/mtr/issues/204#issuecomment-723961118" data-hovercard-type="issue" data-hovercard-url="/traviscross/mtr/issues/204/hovercard">here</a> and <a href="https://github.com/traviscross/mtr/blob/master/SECURITY">here</a>). If mtr (and therefore <code>asn</code>) traces are not working on your system, you should either run <code>asn</code> as root using <strong>sudo</strong>, or set the proper SUID permission bit on the mtr (or better, on the mtr-packet) binary.</em></p> </blockquote> </li> </ul> <p dir="auto"></p></details> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto"><em>(Optional)</em> Installing the <em>asn server</em> as a system service</h3><a id="user-content-optional-installing-the-asn-server-as-a-system-service" class="anchor" aria-label="Permalink: (Optional) Installing the asn server as a system service" href="#optional-installing-the-asn-server-as-a-system-service"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <blockquote> <p dir="auto"><em>Note: this step is optional, and these instructions are only for <strong>systemd</strong>-based Linux systems (most current major distributions).</em></p> </blockquote> <p dir="auto">To control the <strong>asn server</strong> with utilities like <em>systemctl</em> and <em>service</em>, and to enable it to automatically start at boot, follow these steps:</p> <ol dir="auto"> <li>create a new file called <code>/etc/systemd/system/asn.service</code> with the following content (make sure you edit the <em>ExecStart</em> line to match your installation path and desired startup options):</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Unit] Description=ASN lookup and traceroute server After=network.target StartLimitIntervalSec=0 [Service] Type=simple Restart=always RestartSec=1 User=nobody ExecStart=/usr/bin/asn -l :: [Install] WantedBy=multi-user.target"><pre class="notranslate"><code>[Unit] Description=ASN lookup and traceroute server After=network.target StartLimitIntervalSec=0 [Service] Type=simple Restart=always RestartSec=1 User=nobody ExecStart=/usr/bin/asn -l :: [Install] WantedBy=multi-user.target </code></pre></div> <ol start="2" dir="auto"> <li>Enable the <em>CAP_NET_RAW</em> capability for the mtr-packet binary: <code>setcap cap_net_raw+ep $(which mtr-packet)</code> <em>Explanation: this will allow mtr-packet to create raw sockets (and thus perform traces) when launched as an unprivileged user (we're setting up the service to run as user nobody for added security), without the requirement of the setuid-root bit and without having to invoke mtr as root. A thorough explanation for this can be found <a href="https://github.com/traviscross/mtr/blob/master/SECURITY">here</a>.</em></li> <li>Now you can refer to standard systemd utilities to perform service operations: <ul dir="auto"> <li>To start the service: <code>systemctl start asn</code></li> <li>To stop the service: <code>systemctl stop asn</code></li> <li>To check its status and latest logs: <code>systemctl status asn</code></li> <li>To follow its logging in real time: <code>journalctl -f -u asn</code></li> <li>To start the service automatically on boot: <code>systemctl enable asn</code></li> <li>To disable automatic start on boot: <code>systemctl disable asn</code></li> </ul> </li> </ol> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">API tokens</h2><a id="user-content-api-tokens" class="anchor" aria-label="Permalink: API tokens" href="#api-tokens"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The script can be configured to make use of your API tokens to enhance its functionalities.</p> <p dir="auto">The currently supported API tokens are:</p> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">Geolocation API token (ipinfo.io)</h3><a id="user-content-geolocation-api-token-ipinfoio" class="anchor" aria-label="Permalink: Geolocation API token (ipinfo.io)" href="#geolocation-api-token-ipinfoio"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <details><summary><b>Geolocation API token details</b></summary><p dir="auto"> </p><p dir="auto">The geolocation provider of choice for single lookups (i.e. when not running bulk geolocation queries with the <code>-g</code> option) is <strong>ipinfo.io</strong>.</p> <p dir="auto">By default, the script uses the free (no API key) tier that supports up to <strong>1,000</strong> geolocation requests per day. In order to boost this limit (for free) to <strong>50,000</strong> requests per month, an API key token is required.</p> <p dir="auto">In order to obtain an API token, after <a href="https://ipinfo.io/signup" rel="nofollow">signing up</a>, the API token can be found in the <a href="https://ipinfo.io/account/token" rel="nofollow">token section</a> of your reserved area. Once copied, the token should be written to one of the following files (parsed in that order):</p> <p dir="auto"><code>$HOME/.asn/ipinfo_token</code> or <code>/etc/asn/ipinfo_token</code></p> <p dir="auto">The <code>/etc</code>-based file should be used when running asn in <strong>server mode</strong>. The <code>$HOME</code>-based file takes precedence if both files exist, and is ideal for <strong>user mode</strong> (that is, running <code>asn</code> interactively from the command line).</p> <p dir="auto">In order to do so, you can use the following command:</p> <p dir="auto"><em><strong>User mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "$HOME/.asn/" &amp;&amp; echo "$TOKEN" &gt; "$HOME/.asn/ipinfo_token" &amp;&amp; chmod -R 600 "$HOME/.asn/"</code></p> <p dir="auto"><em><strong>Server mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "/etc/asn/" &amp;&amp; echo "$TOKEN" &gt; "/etc/asn/ipinfo_token" &amp;&amp; chmod -R 700 "/etc/asn/" &amp;&amp; chown -R nobody /etc/asn/</code></p> <p dir="auto">Either way, <code>asn</code> will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the ipinfo.io API.</p> <p dir="auto"></p></details> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">IP reputation API token (IPQualityScore)</h3><a id="user-content-ip-reputation-api-token-ipqualityscore" class="anchor" aria-label="Permalink: IP reputation API token (IPQualityScore)" href="#ip-reputation-api-token-ipqualityscore"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <details><summary><b>IP reputation API token details</b></summary><p dir="auto"> </p><p dir="auto">The script will perform first-level IPv4/v6 reputation lookups using <a href="https://www.stopforumspam.com/" rel="nofollow">StopForumSpam</a>, and in case of a match it will perform a second-level, in-depth threat analysis for targets and trace hops using the <a href="https://www.ipqualityscore.com/" rel="nofollow">IPQualityScore</a> API. The StopForumSpam API is free and requires no sign-up, and the service aggregates a <a href="https://www.stopforumspam.com/contributors" rel="nofollow">huge</a> amount of blacklist feeds.</p> <p dir="auto">Still, in order to use the IPQualityScore API for in-depth threat reporting, it's necessary to <a href="https://www.ipqualityscore.com/create-account" rel="nofollow">sign up</a> for their service (it's free) and get an API token (it will be emailed to you on sign-up), which will entitle you to 5000 free lookups per month.</p> <p dir="auto">Once obtained, the api token should be written to one of the following files (parsed in that order):</p> <p dir="auto"><code>$HOME/.asn/iqs_token</code> or <code>/etc/asn/iqs_token</code></p> <p dir="auto">The <code>/etc</code>-based file should be used when running asn in <strong>server mode</strong>. The <code>$HOME</code>-based file takes precedence if both files exist, and is ideal for <strong>user mode</strong> (that is, running <code>asn</code> interactively from the command line).</p> <p dir="auto">In order to do so, you can use the following command:</p> <p dir="auto"><em><strong>User mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "$HOME/.asn/" &amp;&amp; echo "$TOKEN" &gt; "$HOME/.asn/iqs_token" &amp;&amp; chmod -R 600 "$HOME/.asn/"</code></p> <p dir="auto"><em><strong>Server mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "/etc/asn/" &amp;&amp; echo "$TOKEN" &gt; "/etc/asn/iqs_token" &amp;&amp; chmod -R 700 "/etc/asn/" &amp;&amp; chown -R nobody /etc/asn/</code></p> <p dir="auto">Either way, <code>asn</code> will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the IPQualityScore API.</p> <blockquote> <p dir="auto"><em><strong>Note:</strong></em> <em>IPQualityScore is not queried by default for every target, but only for targets that get flagged as BAD by StopForumSpam. It's possible to override this behavior (and force IQS lookup for every target) by setting the <code>IQS_ALWAYS_QUERY</code> parameter to <code>true</code> in the <a href="#preferences-file-homeasnrc">preferences file</a>. It is also possible to specify <a href="https://www.ipqualityscore.com/documentation/proxy-detection/overview" rel="nofollow">custom query settings</a> through the <code>IQS_CUSTOM_SETTINGS</code> parameter.</em></p> </blockquote> <p dir="auto"></p></details> <div class="markdown-heading" dir="auto"><h3 tabindex="-1" class="heading-element" dir="auto">BGP hijack and route leak incidents (Cloudflare Radar)</h3><a id="user-content-bgp-hijack-and-route-leak-incidents-cloudflare-radar" class="anchor" aria-label="Permalink: BGP hijack and route leak incidents (Cloudflare Radar)" href="#bgp-hijack-and-route-leak-incidents-cloudflare-radar"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <details><summary><b>Cloudflare token details</b></summary><p dir="auto"> </p><p dir="auto">When this token is available, an additional lookup will be enabled for <strong>autonomous system</strong> targets, in order to enumerate the BGP incidents (both <strong>BGP hijacks</strong> and <strong>BGP route leaks</strong>) involving the target ASN.</p> <p dir="auto">The script will use the <a href="https://radar.cloudflare.com/" rel="nofollow">Cloudfare Radar</a> API to retrieve the amount of incidents involving the target ASN in the past 12 months. Additionally, it will report how many incidents saw the target ASN as a <strong>hijacker</strong> or as a <strong>victim</strong>.</p> <p dir="auto">The Cloudflare Radar API is <strong>free</strong> to use, but requires a registration. The steps are:</p> <ol dir="auto"> <li><a href="https://dash.cloudflare.com/sign-up" rel="nofollow">Sign up</a> for a free Cloudflare account and <strong>validate your email</strong></li> <li>From the <a href="https://dash.cloudflare.com/profile/api-tokens/" rel="nofollow">Cloudflare dashboard</a>, go to <strong>My Profile &gt; API Tokens</strong>.</li> <li>Select <strong>Create Token</strong></li> <li>Choose the "<em>Read Cloudflare Radar data</em>" template</li> <li>Click <strong>Continue to summary</strong> (the default values are fine)</li> <li>Click <strong>Create token</strong></li> </ol> <p dir="auto">Once obtained, the api token should be written to one of the following files (parsed in that order):</p> <p dir="auto"><code>$HOME/.asn/cloudflare_token</code> or <code>/etc/asn/cloudflare_token</code></p> <p dir="auto">The <code>/etc</code>-based file should be used when running asn in <strong>server mode</strong>. The <code>$HOME</code>-based file takes precedence if both files exist, and is ideal for <strong>user mode</strong> (that is, running <code>asn</code> interactively from the command line).</p> <p dir="auto">In order to do so, you can use the following command:</p> <p dir="auto"><em><strong>User mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "$HOME/.asn/" &amp;&amp; echo "$TOKEN" &gt; "$HOME/.asn/cloudflare_token" &amp;&amp; chmod -R 600 "$HOME/.asn/"</code></p> <p dir="auto"><em><strong>Server mode:</strong></em></p> <p dir="auto"><code>TOKEN="&lt;your_token_here&gt;"; mkdir "/etc/asn/" &amp;&amp; echo "$TOKEN" &gt; "/etc/asn/cloudflare_token" &amp;&amp; chmod -R 700 "/etc/asn/" &amp;&amp; chown -R nobody /etc/asn/</code></p> <p dir="auto">Either way, <code>asn</code> will pick up your token on the next run (no need to restart the service if running in server mode), and use it to query the Cloudflare Radar API.</p> <p dir="auto"></p></details> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Usage</h2><a id="user-content-usage" class="anchor" aria-label="Permalink: Usage" href="#usage"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Syntax</em></h5><a id="user-content-syntax" class="anchor" aria-label="Permalink: Syntax" href="#syntax"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn [OPTIONS] [TARGET]</code></p> <p dir="auto"><code>asn [-v] -l [SERVER OPTIONS]</code></p> <p dir="auto">where <code>TARGET</code> can be one of the following:</p> <ul dir="auto"> <li><strong>AS number</strong> -- lookup matching ASN and BGP announcements/neighbours data. Supports "as123" and "123" formats (case insensitive)</li> <li><strong>IPv4/IPv6/Prefix</strong> -- lookup matching route(4/6), IP reputation and ASN data</li> <li><strong>Hostname</strong> -- resolve the host and lookup data (same as IPv4/IPv6 lookup. Supports multiple IPs - e.g. DNS RR)</li> <li><strong>URL</strong> -- extract hostname/IP from the URL and lookup relative data. Supports any protocol prefix, non-standard ports and <a href="https://en.wikipedia.org/wiki/Basic_access_authentication#URL_encoding" rel="nofollow">prepended credentials</a></li> <li><strong>Organization name</strong> -- search by company name and lookup network ranges exported by (or related to) the company</li> </ul> <p dir="auto">Options:</p> <ul dir="auto"> <li> <p dir="auto"><code>-t</code></p> <ul dir="auto"> <li> <p dir="auto">enables lookup and path tracing for targets <strong>(this is the default behavior)</strong></p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>MTR_TRACING=true</code> (default: <code>true</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-d</code></p> <ul dir="auto"> <li> <p dir="auto">enables detailed trace mode (more info below)</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>DETAILED_TRACE=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-n</code></p> <ul dir="auto"> <li> <p dir="auto">disables path tracing and only outputs lookup info <em>(for IP targets)</em></p> </li> <li> <p dir="auto">disables additional INETNUM/origin lookups <em>(for AS targets)</em></p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>MTR_TRACING=false</code> (default: <code>true</code>), <code>ADDITIONAL_INETNUM_LOOKUP=false</code> (default: <code>true</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-s</code></p> <ul dir="auto"> <li>Launch a Shodan InternetDB scan for the target(s). Supports multiple targets, mixed target types (IP/hostname/CIDR/URL) and piping from stdin.</li> </ul> </li> <li> <p dir="auto"><code>-o</code></p> <ul dir="auto"> <li>forces a Search-By-Organization lookup and skip all target identification checks</li> </ul> </li> <li> <p dir="auto"><code>-a</code></p> <ul dir="auto"> <li>enable <em>ASN suggestion mode</em>. This will search for all ASNs matching a given name.</li> </ul> </li> <li> <p dir="auto"><code>-u</code></p> <ul dir="auto"> <li>enable <em>Transit/Upstream lookup mode</em>. This will inspect BGP updates and ASPATHs for the TARGET address/prefix and identify possible transit/upstream autonomous systems.</li> </ul> </li> <li> <p dir="auto"><code>-c</code></p> <ul dir="auto"> <li>enable <em>Country CIDR mode</em>. This will output all IPv4/v6 CIDR blocks allocated to the specified country.</li> </ul> </li> <li> <p dir="auto"><code>-g</code></p> <ul dir="auto"> <li>enable <em>Bulk Geolocation mode</em>. This will extract all IPv4/v6 addresses from the input, geolocate them and draw some stats.</li> </ul> </li> <li> <p dir="auto"><code>-l</code></p> <ul dir="auto"> <li>Launch the script in <em>server mode</em>. See <strong>Server Options</strong> below</li> </ul> </li> <li> <p dir="auto"><code>-j</code></p> <ul dir="auto"> <li> <p dir="auto">enables compact JSON output. Useful for feeding the output into other tools (like <code>jq</code> or other parsers), or storing the lookup results.</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>JSON_OUTPUT=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-J</code></p> <ul dir="auto"> <li> <p dir="auto">enables pretty-printed JSON output.</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>JSON_PRETTY=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-m</code></p> <ul dir="auto"> <li> <p dir="auto">enables monochrome mode (disables all colors).</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>MONOCHROME_MODE=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-v</code></p> <ul dir="auto"> <li> <p dir="auto">Enable debug messages (will display all URLs being queried to help identify external API slowdowns). In client mode, <code>asn</code> will log all output (external calls and their response data) to the location defined by <code>$ASN_LOGFILE</code> <em>(by default the logfile can be found at <code>$HOME/asndebug.log</code>)</em>.</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>ASN_DEBUG=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>-h</code></p> <ul dir="auto"> <li>Show usage information.</li> </ul> </li> </ul> <p dir="auto">Server Options:</p> <ul dir="auto"> <li> <p dir="auto"><code>BIND_ADDRESS</code></p> <ul dir="auto"> <li> <p dir="auto">IP address (v4/v6) to bind the listening server to (e.g. <code>asn -l 0.0.0.0</code>)</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>DEFAULT_SERVER_BINDADDR_v4="&lt;IPv4address&gt;"</code> (default: <code>"127.0.0.1"</code>) and <code>DEFAULT_SERVER_BINDADDR_v6="&lt;IPv6address&gt;"</code> (default: <code>"::1"</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>BIND_PORT</code></p> <ul dir="auto"> <li> <p dir="auto">TCP Port to bind the listening server to (e.g. <code>asn -l 12345</code>)</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>DEFAULT_SERVER_BINDPORT="&lt;port&gt;"</code> (default: <code>"49200"</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>BIND_ADDRESS BIND_PORT</code></p> <ul dir="auto"> <li>IP address and port to bind the listening server to (e.g. <code>asn -l ::1 12345</code>)</li> </ul> </li> <li> <p dir="auto"><code>-v</code></p> <ul dir="auto"> <li> <p dir="auto">Enable verbose output and debug messages in server mode</p> <blockquote> <p dir="auto"><em>.asnrc option equivalent: <code>ASN_DEBUG=true</code> (default: <code>false</code>)</em></p> </blockquote> </li> </ul> </li> <li> <p dir="auto"><code>--allow host[,host,...]</code></p> <ul dir="auto"> <li>Allow only given hosts to connect to the server</li> </ul> </li> <li> <p dir="auto"><code>--allowfile file</code></p> <ul dir="auto"> <li>A file of hosts allowed to connect to the server</li> </ul> </li> <li> <p dir="auto"><code>--deny host[,host,...]</code></p> <ul dir="auto"> <li>Deny given hosts from connecting to the server</li> </ul> </li> <li> <p dir="auto"><code>--denyfile file</code></p> <ul dir="auto"> <li>A file of hosts denied from connecting to the server</li> </ul> </li> <li> <p dir="auto"><code>--max-conns &lt;n&gt;</code></p> <ul dir="auto"> <li>The maximum number of simultaneous connections accepted by the server. 100 is the default.</li> </ul> </li> </ul> <blockquote> <p dir="auto"><em>Note: Every option in server mode (after</em> <code>-l</code><em>) is passed directly to the ncat listener.</em> <em>Refer to</em> <code>man ncat</code> <em>for more details on the available commands.</em> <em>Unless specified, the default IP:PORT values of <strong>127.0.0.1:49200</strong> (for IPv4) or <strong>[::1]:49200</strong> (for IPv6) will be used (e.g.</em> <code>asn -l</code><em>)</em></p> </blockquote> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Default behavior:</em></h5><a id="user-content-default-behavior" class="anchor" aria-label="Permalink: Default behavior:" href="#default-behavior"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will attempt to automatically identify the <code>TARGET</code> type, if invoked with <code>-t</code>, <code>-n</code>, <code>-d</code> or without options,</li> <li>AS path tracing is <strong>enabled by default</strong> for all lookups involving an IP or hostname. In case of multiple IP results, the script will trace the first IP, with a preference for IPv6 if possible on the user's host.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Preferences file (<code>$HOME/.asnrc</code>)</em></h5><a id="user-content-preferences-file-homeasnrc" class="anchor" aria-label="Permalink: Preferences file ($HOME/.asnrc)" href="#preferences-file-homeasnrc"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Options defaults can be overridden by creating a file called <code>.asnrc</code> in the user's <strong>home directory</strong>. The following values are the defaults. Any (or all) of them can be specified in the settings file and adjusted to the user's preference:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="ASN_LOGFILE=&quot;$HOME/asndebug.log&quot; MTR_TRACING=true ADDITIONAL_INETNUM_LOOKUP=true DETAILED_TRACE=false MTR_ROUNDS=5 MAX_CONCURRENT_SHODAN_REQUESTS=10 SHODAN_SHOW_TOP_N=5 MONOCHROME_MODE=false ASN_DEBUG=false JSON_OUTPUT=false JSON_PRETTY=false DEFAULT_SERVER_BINDADDR_v4=&quot;127.0.0.1&quot; DEFAULT_SERVER_BINDADDR_v6=&quot;::1&quot; DEFAULT_SERVER_BINDPORT=&quot;49200&quot; IQS_ALWAYS_QUERY=false IQS_CUSTOM_SETTINGS=&quot;&quot;"><pre>ASN_LOGFILE=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-smi">$HOME</span>/asndebug.log<span class="pl-pds">"</span></span> MTR_TRACING=true ADDITIONAL_INETNUM_LOOKUP=true DETAILED_TRACE=false MTR_ROUNDS=5 MAX_CONCURRENT_SHODAN_REQUESTS=10 SHODAN_SHOW_TOP_N=5 MONOCHROME_MODE=false ASN_DEBUG=false JSON_OUTPUT=false JSON_PRETTY=false DEFAULT_SERVER_BINDADDR_v4=<span class="pl-s"><span class="pl-pds">"</span>127.0.0.1<span class="pl-pds">"</span></span> DEFAULT_SERVER_BINDADDR_v6=<span class="pl-s"><span class="pl-pds">"</span>::1<span class="pl-pds">"</span></span> DEFAULT_SERVER_BINDPORT=<span class="pl-s"><span class="pl-pds">"</span>49200<span class="pl-pds">"</span></span> IQS_ALWAYS_QUERY=false IQS_CUSTOM_SETTINGS=<span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span></pre></div> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Detailed mode (<code>-d</code> | <code>DETAILED_TRACE=true</code>)</em></h5><a id="user-content-detailed-mode--d--detailed_tracetrue" class="anchor" aria-label="Permalink: Detailed mode (-d | DETAILED_TRACE=true)" href="#detailed-mode--d--detailed_tracetrue"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>Detailed hop info reporting and RPKI validation can be turned on by passing the <code>[-d|--detailed]</code> command line switch. This will enable querying the public <a href="https://pwhois.org/server.who" rel="nofollow">pWhois server</a> and the <a href="https://stat.ripe.net/docs/data_api#rpki-validation" rel="nofollow">RIPEStat RPKI validation API</a> for every hop in the mtr trace. Relevant info will be displayed as a "tree" below the hop data, in addition to Team Cymru's server output (which only reports the AS name that the organization originating the prefix gave to its autonomous system number). This can be useful to figure out more details regarding the organization's name, the prefix' intended designation, and even (to a certain extent) its geographical scope. Furthermore, this will enable a warning whenever RPKI validation fails for one of the hops in the trace, indicating which AS in the path is wrongly announcing (as per current pWhois data) the hop prefix, indicating a potential route leak or BGP hijacking incident.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Organization search (<code>-o</code>)</em></h5><a id="user-content-organization-search--o" class="anchor" aria-label="Permalink: Organization search (-o)" href="#organization-search--o"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will try to figure out if the input is an Organization name (i.e. if it doesn't look like an IP address, an AS number or a hostname). In order to force an organization search (for example for Orgs containing <code>.</code> in their name), pass the <code>[-o|--organization]</code> command line switch.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>ASN suggest (<code>-a</code>)</em></h5><a id="user-content-asn-suggest--a" class="anchor" aria-label="Permalink: ASN suggest (-a)" href="#asn-suggest--a"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will try to find ASNs matching the given search string, using the RIPEStat API. This mode can be used to map all the autonomous systems related to a given company.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Upstream/transit identification (<code>-u</code>)</em></h5><a id="user-content-upstreamtransit-identification--u" class="anchor" aria-label="Permalink: Upstream/transit identification (-u)" href="#upstreamtransit-identification--u"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will inspect BGP updates for the given IP (v4/v6) and identify the likelihood of the upstream autonomous system(s) being transit(s) for the origin AS. A probability of the upstreams being transits will be inferred by the amount of times the upstream AS appears in the observed ASPATHs towards the target IP, in comparison to other BGP peers. The script will also inform the user if the prefix is being simultaneously announced to multiple upstreams (e.g. in case of BGP multihoming, tier-1 prefixes, anycast addresses, etc.). JSON mode is supported.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Server mode (<code>-l</code>)</em></h5><a id="user-content-server-mode--l" class="anchor" aria-label="Permalink: Server mode (-l)" href="#server-mode--l"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will start up a webserver allowing the user to run remote lookups and traceroutes directly from the browser. The web server is actually an <a href="https://nmap.org/ncat/" rel="nofollow">ncat</a> listener waiting for requests, responding to browsers querying through the HTTP protocol. This interface makes for a straightforward integration into user workflow and no need to download any client-side tools. By simply using a Javascript <a href="https://en.wikipedia.org/wiki/Bookmarklet" rel="nofollow">bookmarklet</a> or custom <a href="https://www.howtogeek.com/114176/how-to-easily-create-search-plugins-add-any-search-engine-to-your-browser/" rel="nofollow">search engine</a>, it will be possible to launch remote traces and lookups without ever leaving the browser. Refer to the <a href="#running-lookups-from-the-browser">this section</a> for more information.</li> </ul> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Notes</h2><a id="user-content-notes" class="anchor" aria-label="Permalink: Notes" href="#notes"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Organization data, IP Reputation, noise classification and IP fingerprinting</em></h5><a id="user-content-organization-data-ip-reputation-noise-classification-and-ip-fingerprinting" class="anchor" aria-label="Permalink: Organization data, IP Reputation, noise classification and IP fingerprinting" href="#organization-data-ip-reputation-noise-classification-and-ip-fingerprinting"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>Organization data is taken from pWhois</li> <li>IP reputation data is taken from StopForumSpam and IpQualityScore <blockquote> <p dir="auto">Reputation is also enriched with IP <em>noise</em> classification (addresses that have been observed scanning the Internet, and very likely to appear in your logs), taken from <a href="https://greynoise.io" rel="nofollow">GreyNoise</a>. This will also help identify known-good IPs (e.g. Google networks, CDNs, etc.) from aggressive, known-malicious scanners.</p> </blockquote> </li> <li>IP fingerprinting data is retrieved from Shodan's <a href="https://internetdb.shodan.io/" rel="nofollow">InternetDB API</a>. Data includes open ports, <a href="https://en.wikipedia.org/wiki/Common_Platform_Enumeration" rel="nofollow">software/hardware information</a> and <a href="https://en.wikipedia.org/wiki/Common_Vulnerabilities_and_Exposures" rel="nofollow">known vulnerabilities</a> pertaining to the IP address.</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Geolocation</em></h5><a id="user-content-geolocation" class="anchor" aria-label="Permalink: Geolocation" href="#geolocation"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The script will perform IP and trace hop geolocation with this logic:</p> <ol dir="auto"> <li>Using the <a href="https://ipinfo.io/" rel="nofollow">ipinfo.io</a> service as a primary source of geolocation data. It offers extremely precise geolocation data based on a proprietary network of geographically distributed probes, and is extremely reliable</li> <li>Using the <a href="https://ip-api.com/" rel="nofollow">ip-api</a> service as a fallback source of geolocation data</li> <li>Using the <a href="https://pwhois.org/" rel="nofollow">Prefix Whois</a> service as a last-resort source of geolocation data</li> </ol> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>IP Classification</em></h5><a id="user-content-ip-classification" class="anchor" aria-label="Permalink: IP Classification" href="#ip-classification"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The script will use the ip-api, incolumitas.com, ipinfo.io and PeeringDB services to classify target IPs and trace hops into these categories:</p> <ul dir="auto"> <li><a href="https://en.wikipedia.org/wiki/Anycast" rel="nofollow">Anycast</a> IP</li> <li>Mobile network</li> <li>Proxy host (TOR exit node/VPN/etc)</li> <li>Hosting network (datacenter/hosting provider/etc) along with detailed DC and region identification where available</li> <li>IXP network</li> </ul> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>IXP detection and unannounced prefixes</em></h5><a id="user-content-ixp-detection-and-unannounced-prefixes" class="anchor" aria-label="Permalink: IXP detection and unannounced prefixes" href="#ixp-detection-and-unannounced-prefixes"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <ul dir="auto"> <li>The script will detect <a href="https://en.wikipedia.org/wiki/Internet_exchange_point" rel="nofollow">IXPs</a> traversed during path traces by matching them with <a href="https://www.peeringdb.com/" rel="nofollow">PeeringDB</a>'s comprehensive dataset of IXP prefixes.</li> <li>The script will also attempt a best-effort, fallback generic <code>whois</code> lookup when Team Cymru, pWhois and PeeringDB have no info about the IP address or prefix. This is usually the case with some <a href="https://en.wikipedia.org/wiki/Peering#Private_peering" rel="nofollow">PNI</a> prefixes, and will give better insight into the path taken by packets.</li> </ul> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Running lookups from the browser</h2><a id="user-content-running-lookups-from-the-browser" class="anchor" aria-label="Permalink: Running lookups from the browser" href="#running-lookups-from-the-browser"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Prerequisite tools for server mode</em></h5><a id="user-content-prerequisite-tools-for-server-mode" class="anchor" aria-label="Permalink: Prerequisite tools for server mode" href="#prerequisite-tools-for-server-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Server mode requires two tools for its functionality: <code>ncat</code> and <code>aha</code>. Specifically, <a href="https://github.com/theZiz/aha">aha</a> (the ANSI-&gt;HTML converter) v0.5+ is required. The ncat tool is contained inside the <em>nmap</em> package on older distributions (e.g. Ubuntu 18.04, Debian 9), while it is packaged as a standalone tool on newer ones.</p> <p dir="auto">Please refer to the <a href="#installation">installation</a> section and run the appropriate commands to install the required packages for your operating system, and optionally to install the asn server as a systemd service.</p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Advantages of server mode</em></h5><a id="user-content-advantages-of-server-mode" class="anchor" aria-label="Permalink: Advantages of server mode" href="#advantages-of-server-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The main advantage of running lookups from the browser, is that every IP address and AS number gets converted into a hyperlink, allowing to perform subsequent lookups by simply clicking on them.</p> <p dir="auto">When looking up an URL/hostname/domain, quick WHOIS info and links to relevant external resources will be available in the results.</p> <p dir="auto">When looking up an AS number, all peering ASNs will be clickable. Also, if an AS peers at a public facility, PeeringDB info for that facility will be linked directly. Furthermore, additional external BGP information sources will be linked, directly for the target ASN.</p> <p dir="auto">Here are some examples:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/117340152-e1217a00-aea0-11eb-9d8f-abaea0d3389e.png"><img src="https://user-images.githubusercontent.com/24555810/117340152-e1217a00-aea0-11eb-9d8f-abaea0d3389e.png" alt="srvmode_hostname_lookup" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/117340278-01e9cf80-aea1-11eb-8cad-457f60e80a86.png"><img src="https://user-images.githubusercontent.com/24555810/117340278-01e9cf80-aea1-11eb-8cad-457f60e80a86.png" alt="srvmode_whois" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/117340969-d7e4dd00-aea1-11eb-8e94-88d166f67360.png"><img src="https://user-images.githubusercontent.com/24555810/117340969-d7e4dd00-aea1-11eb-8e94-88d166f67360.png" alt="srvmode_asn_lookup" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Server side</h4><a id="user-content-server-side" class="anchor" aria-label="Permalink: Server side" href="#server-side"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Once started in <strong>server mode</strong>, <code>asn</code> will spin up a custom webserver waiting for browser requests. This is what the server-side console looks like:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102154363-80ee5500-3e79-11eb-840f-53e3619be2e4.png"><img src="https://user-images.githubusercontent.com/24555810/102154363-80ee5500-3e79-11eb-840f-53e3619be2e4.png" alt="server_console" style="max-width: 100%;"></a></p> <p dir="auto">The server is now ready to accept browser requests (only from the local machine, in this case - since I've launched it with no command line switches, which defaults to listening on <strong>127.0.0.1:49200</strong>. Refer to the <a href="#usage">usage</a> section for more information about the available server options).</p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Client side</h4><a id="user-content-client-side" class="anchor" aria-label="Permalink: Client side" href="#client-side"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Visit <a href="http://127.0.0.1:49200/asn_bookmarklet" rel="nofollow">this page</a> in your browser and follow the instructions to copy the bookmarklet to your bookmarks toolbar:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102159720-640b4f00-3e84-11eb-8360-afa79b6f0f5f.png"><img src="https://user-images.githubusercontent.com/24555810/102159720-640b4f00-3e84-11eb-8360-afa79b6f0f5f.png" alt="bookmarklet_install" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>How it works</em></h5><a id="user-content-how-it-works" class="anchor" aria-label="Permalink: How it works" href="#how-it-works"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The bookmarklet is actually a small piece of Javascript code which will grab the hostname of the website you're currently visiting in the browser, and pass it to the server through a simple <em>HTTP GET</em> request. The server then proceeds to perform the lookup and traceroute (from its own viewpoint, just like it does when ran interactively from the command line), and feed the results to your browser through an HTML page, mimicking the effect of a scrolling terminal.</p> <blockquote> <p dir="auto"><em>Note: The link you drag to the bookmarks bar is actually a <em>minified</em> (i.e.: compacted) version of the source javascript code, but for reference, here's the full source:</em></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="javascript:(function () { var asnserver = &quot;localhost:49200&quot;; var target = window.location.hostname; var width = screen.width - screen.width / 7; var height= screen.height - screen.height / 4; var left = window.innerWidth / 2 - width / 2; var top = window.innerHeight / 2 - height / 2; window.open(&quot;http://&quot; + asnserver + &quot;/asn_lookup&amp;&quot; + target, &quot;newWindow&quot;, &quot;width=&quot; + width + &quot;,height=&quot; + height + &quot;,top=&quot; + top + &quot;,left=&quot; + left); })();"><pre>javascript:<span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">asnserver</span> <span class="pl-c1">=</span> <span class="pl-s">"localhost:49200"</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">target</span> <span class="pl-c1">=</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">location</span><span class="pl-kos">.</span><span class="pl-c1">hostname</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">width</span> <span class="pl-c1">=</span> <span class="pl-s1">screen</span><span class="pl-kos">.</span><span class="pl-c1">width</span> <span class="pl-c1">-</span> <span class="pl-s1">screen</span><span class="pl-kos">.</span><span class="pl-c1">width</span> <span class="pl-c1">/</span> <span class="pl-c1">7</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">height</span><span class="pl-c1">=</span> <span class="pl-s1">screen</span><span class="pl-kos">.</span><span class="pl-c1">height</span> <span class="pl-c1">-</span> <span class="pl-s1">screen</span><span class="pl-kos">.</span><span class="pl-c1">height</span> <span class="pl-c1">/</span> <span class="pl-c1">4</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">left</span> <span class="pl-c1">=</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">innerWidth</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span> <span class="pl-c1">-</span> <span class="pl-s1">width</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">top</span> <span class="pl-c1">=</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">innerHeight</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span> <span class="pl-c1">-</span> <span class="pl-s1">height</span> <span class="pl-c1">/</span> <span class="pl-c1">2</span><span class="pl-kos">;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-en">open</span><span class="pl-kos">(</span><span class="pl-s">"http://"</span> <span class="pl-c1">+</span> <span class="pl-s1">asnserver</span> <span class="pl-c1">+</span> <span class="pl-s">"/asn_lookup&amp;"</span> <span class="pl-c1">+</span> <span class="pl-s1">target</span><span class="pl-kos">,</span> <span class="pl-s">"newWindow"</span><span class="pl-kos">,</span> <span class="pl-s">"width="</span> <span class="pl-c1">+</span> <span class="pl-s1">width</span> <span class="pl-c1">+</span> <span class="pl-s">",height="</span> <span class="pl-c1">+</span> <span class="pl-s1">height</span> <span class="pl-c1">+</span> <span class="pl-s">",top="</span> <span class="pl-c1">+</span> <span class="pl-s1">top</span> <span class="pl-c1">+</span> <span class="pl-s">",left="</span> <span class="pl-c1">+</span> <span class="pl-s1">left</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><em>If you want to "un-minify" the actual bookmarklet code, you can refer to <a href="https://unminify.com/" rel="nofollow">this site</a></em></p> </blockquote> <p dir="auto">Once the trace is finished, an option to share the output on <a href="https://termbin.com/" rel="nofollow">termbin</a> is given to the user. This makes for quick sharing of the traceroute or lookup output with other people:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102160506-dc264480-3e85-11eb-9e14-8c851f261172.png"><img src="https://user-images.githubusercontent.com/24555810/102160506-dc264480-3e85-11eb-9e14-8c851f261172.png" alt="termbin" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102168101-f49b5c80-3e8f-11eb-8bc6-9f0592fa9624.png"><img src="https://user-images.githubusercontent.com/24555810/102168101-f49b5c80-3e8f-11eb-8bc6-9f0592fa9624.png" alt="termbin_2" style="max-width: 100%;"></a></p> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Search engine setup</h4><a id="user-content-search-engine-setup" class="anchor" aria-label="Permalink: Search engine setup" href="#search-engine-setup"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">In order to take full advantage of having <code>asn</code> inside the browser, it is possible to configure it as a custom search engine for the browser search bar. This allows to leverage the server to search for <strong>ASNs</strong>, <strong>URLs</strong>, <strong>IPs</strong>, <strong>Hostnames</strong>, and so on, depending on the search string.</p> <p dir="auto">Generally speaking, this implies instructing the browser that when a certain <strong>keyword</strong> is prepended to a search, the following characters (the actual <strong>search string</strong>, identified by <code>%s</code>) have to be passed to a certain URL. The URL is then composed according to this logic, and opened just like a normal webpage.</p> <p dir="auto">I've used <code>@asn</code> for my keyword, but anything would do. In order to speed up things, one could very well use a shorter tag (e.g. <code>#</code>) that, when used in the address bar, automatically switches your search engine to the ASN Lookup server. Note that the leading <code>@</code> sign is not mandatory, just handy since it doesn't get in the way of normal searches, but there's much freedom with that.</p> <p dir="auto">For quick reference, the location URL string to enter (for both Firefox and Chrome) is: <code>http://127.0.0.1:49200/asn_lookup&amp;%s</code>. Of course that sends lookup requests to the <em>locally</em> running ASN server.</p> <p dir="auto">Here's how to add a search engine in Firefox and Chrome:</p> <p dir="auto"><em><strong>Firefox:</strong></em></p> <ul dir="auto"> <li> <p dir="auto">Simply create a new bookmark and fill its details like this:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102160982-c6fde580-3e86-11eb-9885-c23eb60d622b.png"><img src="https://user-images.githubusercontent.com/24555810/102160982-c6fde580-3e86-11eb-9885-c23eb60d622b.png" alt="searchsetup_firefox" style="max-width: 100%;"></a></p> </li> </ul> <p dir="auto">Afterwards, you will be able to run queries and traceroutes by simply entering, for example, <code>@asn 8.8.8.8</code> in the browser's location bar.</p> <p dir="auto"><em><strong>Chrome:</strong></em></p> <ol dir="auto"> <li> <p dir="auto">Right click the location bar and select <i><strong>Manage search engines...</strong></i></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102161929-87d09400-3e88-11eb-9e42-70087e3fab87.png"><img src="https://user-images.githubusercontent.com/24555810/102161929-87d09400-3e88-11eb-9e42-70087e3fab87.png" alt="searchsetup_chrome_1" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">Click <strong>Add</strong>:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102162100-dc740f00-3e88-11eb-8037-528fbcc636e9.png"><img src="https://user-images.githubusercontent.com/24555810/102162100-dc740f00-3e88-11eb-8037-528fbcc636e9.png" alt="searchsetup_chrome_2" style="max-width: 100%;"></a></p> </li> <li> <p dir="auto">Fill in the details as shown below:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24555810/102162218-16451580-3e89-11eb-85d1-a4d24c980d7d.png"><img src="https://user-images.githubusercontent.com/24555810/102162218-16451580-3e89-11eb-85d1-a4d24c980d7d.png" alt="searchsetup_chrome_3" style="max-width: 100%;"></a></p> </li> </ol> <p dir="auto">As usual, the keyword is entirely customizable to your preference.</p> <p dir="auto"><em><strong>Other browsers:</strong></em></p> <ul dir="auto"> <li>You may want to follow <a href="https://www.howtogeek.com/114176/how-to-easily-create-search-plugins-add-any-search-engine-to-your-browser/" rel="nofollow">this post</a> to search for instructions on how to add a custom search engine for your browser of choice.</li> </ul> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Running the server on an external host</h4><a id="user-content-running-the-server-on-an-external-host" class="anchor" aria-label="Permalink: Running the server on an external host" href="#running-the-server-on-an-external-host"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Port forwarding</em></h5><a id="user-content-port-forwarding" class="anchor" aria-label="Permalink: Port forwarding" href="#port-forwarding"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">In order to access the server remotely, beside binding to <code>0.0.0.0</code> (or any other relevant IP address for your scenario), if the host is behind a NAT router, you'll need to forward the listening port (<code>BIND_PORT</code>) from the host/router outside IP to the actual machine where the ASN server is running on. It is a single TCP port (by default <code>TCP/49200</code>), and you can change it via the command line parameters (see <a href="#usage">Usage</a>).</p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Textual browser client</em></h5><a id="user-content-textual-browser-client" class="anchor" aria-label="Permalink: Textual browser client" href="#textual-browser-client"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">It is possible to launch remote traces from another command line, and view the results directly in the terminal. All it takes is a compatible text browser, for example <code>elinks</code> (but you can download results for later reviewing even using <code>curl</code> or really anything else).</p> <p dir="auto">The script makes use of 8-bit ANSI colors for its output, so the command to launch a remote trace using elinks would be something like this:</p> <p dir="auto"><code>elinks -dump -dump-color-mode 3 http://&lt;ASN_SRV_IP&gt;:49200/asn_lookup&amp;8.8.8.8</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto"><em>Security considerations</em></h5><a id="user-content-security-considerations" class="anchor" aria-label="Permalink: Security considerations" href="#security-considerations"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The server logic in itself is very simple: the script implements a basic web server entirely in BASH, leveraging the fact that it can talk to a browser using the HTTP protocol and the HTML language, in a reasonably simple way.</p> <p dir="auto">The core behind it revolves around <a href="https://nmap.org/ncat/" rel="nofollow">ncat</a>, a very robust and stable netcat-like network tool. This is the actual "server" listening for incoming connection, and spawning connection handlers (that is, 'single-purpose' instances of the <code>asn</code> script itself) as clients connect.</p> <p dir="auto">If you decide to open it to the outside (i.e.: binding it to something that is not localhost, and launching traces from outside your local machine), please bear in mind that there is no authentication mechanism (yet) integrated into the code, so theoretically anybody with the right URL could <em>spawn traceroutes from your server</em> and view the results (bear in mind however that the server sanitizes user input by stripping any dangerous characters).</p> <p dir="auto">To contrast that, fortunately <code>ncat</code> implements a robust allow/deny logic (based both on command line parameters and files, a la <code>/etc/hosts.allow</code> and <code>hosts.deny</code>). The script supports passing parameters directly to <code>ncat</code>, therefore it's possible to make full use of its filtering capabilities and lock the server to a restricted range of trusted IPs.</p> <p dir="auto">The available options, and some usage examples, can be viewed by running <code>asn -h</code>.</p> <blockquote> <p dir="auto"><em>Note: if you plan to run the server somewhere else than your local machine, remember to change the bookmarklet code and the custom search engine URL values to reflect the actual IP of the asn server. It is naturally possible to have multiple bookmarklets and search engine keywords to map to different ASN server instances.</em></p> <p dir="auto"><em>For the bookmarklet, you'll need to change this value at the very beginning:</em> <code>var asnserver="localhost:49200"</code> <em>and make it point to the new address:port pair. No further change is required in the remaining JS code.</em></p> </blockquote> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Shodan scanning (Recon Mode)</h2><a id="user-content-shodan-scanning-recon-mode" class="anchor" aria-label="Permalink: Shodan scanning (Recon Mode)" href="#shodan-scanning-recon-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The tool can query Shodan's InternetDB API to look up information regarding any type of targets when launched with the <code>-s</code> command line switch.</p> <p dir="auto">If the scan identifies any vulnerabilities, the NIST NVD API is queried in order to provide descriptions, any well known names and a link to learn more about the top ones.</p> <p dir="auto">Currently supported targets are:</p> <ul dir="auto"> <li><strong>IP addresses</strong></li> <li><strong>CIDR blocks</strong> <em>(will scan all of the IPs in the range)</em></li> <li><strong>URLs</strong></li> <li><strong>Hostnames</strong> <em>(will resolve to an IP (or list of IPs) and query all of them)</em></li> </ul> <p dir="auto">Target types can be mixed and queried in a single run. Targets can be piped to the tool via standard input as well.</p> <p dir="auto"><em>Usage Examples:</em></p> <p dir="auto"><code>asn -s 1.1.1.1 8.8.8.8 9.9.9.9</code></p> <p dir="auto"><code>asn -s https://www.google.com 8.8.8.0/24</code></p> <p dir="auto"><code>asn -s &lt; iplist</code></p> <p dir="auto"><code>curl -s https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/blocklist_de_bots.ipset | asn -s</code></p> <p dir="auto">Shodan scan results can be output in JSON mode by passing the <code>-j</code> or <code>-J</code> options.</p> <blockquote> <p dir="auto"><em>Note: the Nmap tool is needed to use this feature, but note that <strong>no packets whatsoever</strong> are sent to the targets. Nmap is only required to break down CIDR blocks into single IPs (as a calculator tool).</em></p> </blockquote> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Mapping the IP(v4/v6) address space of specific countries</h2><a id="user-content-mapping-the-ipv4v6-address-space-of-specific-countries" class="anchor" aria-label="Permalink: Mapping the IP(v4/v6) address space of specific countries" href="#mapping-the-ipv4v6-address-space-of-specific-countries"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The tool will search and display all IPv4 and IPv6 CIDR blocks allocated to a specific country when launched with the <code>-c</code> command line switch, plus some statistics.</p> <ul dir="auto"> <li>Searching for a specific country code with a leading dot (e.g. <code>.fr</code>) will yield direct results for France, while full text search will display country codes matching the search string, or proceed to display the results if only one match is found.</li> <li>Statistics such as v4 prefix length distribution, total IPv4 addresses available to the country, IPv4 addresses per capita, etc. are included.</li> <li>JSON output is supported.</li> </ul> <p dir="auto"><em>Usage Examples:</em></p> <p dir="auto"><code>asn -c germany</code></p> <p dir="auto"><code>asn -c .de</code></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# scan a random norwegian subnet for CVE/CPE/open ports/hostnames: asn -jc .no | jq -r &quot;.results[] | .ipv4[$RANDOM % .ipv4_blocks]&quot; | asn -s"><pre><span class="pl-c"><span class="pl-c">#</span> scan a random norwegian subnet for CVE/CPE/open ports/hostnames:</span> asn -jc .no <span class="pl-k">|</span> jq -r <span class="pl-s"><span class="pl-pds">"</span>.results[] | .ipv4[<span class="pl-smi">$RANDOM</span> % .ipv4_blocks]<span class="pl-pds">"</span></span> <span class="pl-k">|</span> asn -s</pre></div> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Bulk geolocation mode</h2><a id="user-content-bulk-geolocation-mode" class="anchor" aria-label="Permalink: Bulk geolocation mode" href="#bulk-geolocation-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">In this mode the tool will extract all IPv4 and IPv6 addresses from the input data and geolocate them. Anycast detection and general stats (top IPv4/IPv6 addresses with number of occurrences, number of IPs per country etc.) are included in the output. Bulk geolocation is quicker than normal <code>asn</code> lookups (300 IP addresses can be parsed in ~5s), and its main use case is to extract, geolocate and calculate country/occurrence stats for any number of IPs from arbitrarily formatted data streams (e.g. server logs). JSON output and stdin input are supported.</p> <p dir="auto"><em>Usage Examples:</em></p> <p dir="auto"><code>asn -g 1.1.1.1 8.8.8.8</code></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# geolocate webserver clients asn -g &lt; /var/log/apache2/access.log"><pre><span class="pl-c"><span class="pl-c">#</span> geolocate webserver clients</span> asn -g <span class="pl-k">&lt;</span> /var/log/apache2/access.log</pre></div> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# geolocate IPs that have logged in to the system last | asn -g"><pre><span class="pl-c"><span class="pl-c">#</span> geolocate IPs that have logged in to the system</span> last <span class="pl-k">|</span> asn -g</pre></div> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">JSON output and API mode</h2><a id="user-content-json-output-and-api-mode" class="anchor" aria-label="Permalink: JSON output and API mode" href="#json-output-and-api-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Locally (shell mode)</h4><a id="user-content-locally-shell-mode" class="anchor" aria-label="Permalink: Locally (shell mode)" href="#locally-shell-mode"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">The tool can be instructed to output lookup results in JSON mode by using the <code>-j</code> (compact JSON) or <code>-J</code> (pretty-printed JSON) command line options:</p> <details><summary><i>Example 1 - IPv4 lookup</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command" class="anchor" aria-label="Permalink: Command:" href="#command"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -J 8.8.8.8</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output" class="anchor" aria-label="Permalink: Output:" href="#output"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;target&quot;: &quot;8.8.8.8&quot;, &quot;target_type&quot;: &quot;ipv4&quot;, &quot;result&quot;: &quot;ok&quot;, &quot;reason&quot;: &quot;success&quot;, &quot;version&quot;: &quot;0.78.0&quot;, &quot;request_time&quot;: &quot;2024-08-20T02:50:28&quot;, &quot;request_duration&quot;: 5, &quot;api_tokens&quot;: { &quot;ipqualityscore&quot;: true, &quot;ipinfo&quot;: true, &quot;cloudflare&quot;: true }, &quot;result_count&quot;: 1, &quot;results&quot;: [ { &quot;ip&quot;: &quot;8.8.8.8&quot;, &quot;ip_version&quot;: &quot;4&quot;, &quot;reverse&quot;: &quot;dns.google&quot;, &quot;org_name&quot;: &quot;Google LLC&quot;, &quot;net_range&quot;: &quot;8.8.8.0/24&quot;, &quot;net_name&quot;: &quot;GOGL&quot;, &quot;abuse_contacts&quot;: [ &quot;network-abuse@google.com&quot; ], &quot;routing&quot;: { &quot;is_announced&quot;: true, &quot;as_number&quot;: &quot;15169&quot;, &quot;as_name&quot;: &quot;GOOGLE, US&quot;, &quot;as_rank&quot;: &quot;1788&quot;, &quot;route&quot;: &quot;8.8.8.0/24&quot;, &quot;route_name&quot;: &quot;&quot;, &quot;roa_count&quot;: &quot;1&quot;, &quot;roa_validity&quot;: &quot;valid&quot; }, &quot;type&quot;: { &quot;is_bogon&quot;: false, &quot;is_anycast&quot;: true, &quot;is_mobile&quot;: false, &quot;is_proxy&quot;: false, &quot;is_dc&quot;: true, &quot;dc_details&quot;: { &quot;dc_name&quot;: &quot;Google LLC&quot; }, &quot;is_ixp&quot;: false }, &quot;geolocation&quot;: { &quot;city&quot;: &quot;Mountain View&quot;, &quot;region&quot;: &quot;California&quot;, &quot;country&quot;: &quot;United States&quot;, &quot;cc&quot;: &quot;US&quot; }, &quot;reputation&quot;: { &quot;status&quot;: &quot;good&quot;, &quot;is_known_good&quot;: true, &quot;known_as&quot;: &quot;Google Public DNS&quot; }, &quot;fingerprinting&quot;: { &quot;ports&quot;: [ 53, 443 ] } } ] }"><pre>{ <span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>8.8.8.8<span class="pl-pds">"</span></span>, <span class="pl-ent">"target_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>ipv4<span class="pl-pds">"</span></span>, <span class="pl-ent">"result"</span>: <span class="pl-s"><span class="pl-pds">"</span>ok<span class="pl-pds">"</span></span>, <span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>success<span class="pl-pds">"</span></span>, <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.78.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_time"</span>: <span class="pl-s"><span class="pl-pds">"</span>2024-08-20T02:50:28<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_duration"</span>: <span class="pl-c1">5</span>, <span class="pl-ent">"api_tokens"</span>: { <span class="pl-ent">"ipqualityscore"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"ipinfo"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"cloudflare"</span>: <span class="pl-c1">true</span> }, <span class="pl-ent">"result_count"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"results"</span>: [ { <span class="pl-ent">"ip"</span>: <span class="pl-s"><span class="pl-pds">"</span>8.8.8.8<span class="pl-pds">"</span></span>, <span class="pl-ent">"ip_version"</span>: <span class="pl-s"><span class="pl-pds">"</span>4<span class="pl-pds">"</span></span>, <span class="pl-ent">"reverse"</span>: <span class="pl-s"><span class="pl-pds">"</span>dns.google<span class="pl-pds">"</span></span>, <span class="pl-ent">"org_name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Google LLC<span class="pl-pds">"</span></span>, <span class="pl-ent">"net_range"</span>: <span class="pl-s"><span class="pl-pds">"</span>8.8.8.0/24<span class="pl-pds">"</span></span>, <span class="pl-ent">"net_name"</span>: <span class="pl-s"><span class="pl-pds">"</span>GOGL<span class="pl-pds">"</span></span>, <span class="pl-ent">"abuse_contacts"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>network-abuse@google.com<span class="pl-pds">"</span></span> ], <span class="pl-ent">"routing"</span>: { <span class="pl-ent">"is_announced"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"as_number"</span>: <span class="pl-s"><span class="pl-pds">"</span>15169<span class="pl-pds">"</span></span>, <span class="pl-ent">"as_name"</span>: <span class="pl-s"><span class="pl-pds">"</span>GOOGLE, US<span class="pl-pds">"</span></span>, <span class="pl-ent">"as_rank"</span>: <span class="pl-s"><span class="pl-pds">"</span>1788<span class="pl-pds">"</span></span>, <span class="pl-ent">"route"</span>: <span class="pl-s"><span class="pl-pds">"</span>8.8.8.0/24<span class="pl-pds">"</span></span>, <span class="pl-ent">"route_name"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>, <span class="pl-ent">"roa_count"</span>: <span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span>, <span class="pl-ent">"roa_validity"</span>: <span class="pl-s"><span class="pl-pds">"</span>valid<span class="pl-pds">"</span></span> }, <span class="pl-ent">"type"</span>: { <span class="pl-ent">"is_bogon"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"is_anycast"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"is_mobile"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"is_proxy"</span>: <span class="pl-c1">false</span>, <span class="pl-ent">"is_dc"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"dc_details"</span>: { <span class="pl-ent">"dc_name"</span>: <span class="pl-s"><span class="pl-pds">"</span>Google LLC<span class="pl-pds">"</span></span> }, <span class="pl-ent">"is_ixp"</span>: <span class="pl-c1">false</span> }, <span class="pl-ent">"geolocation"</span>: { <span class="pl-ent">"city"</span>: <span class="pl-s"><span class="pl-pds">"</span>Mountain View<span class="pl-pds">"</span></span>, <span class="pl-ent">"region"</span>: <span class="pl-s"><span class="pl-pds">"</span>California<span class="pl-pds">"</span></span>, <span class="pl-ent">"country"</span>: <span class="pl-s"><span class="pl-pds">"</span>United States<span class="pl-pds">"</span></span>, <span class="pl-ent">"cc"</span>: <span class="pl-s"><span class="pl-pds">"</span>US<span class="pl-pds">"</span></span> }, <span class="pl-ent">"reputation"</span>: { <span class="pl-ent">"status"</span>: <span class="pl-s"><span class="pl-pds">"</span>good<span class="pl-pds">"</span></span>, <span class="pl-ent">"is_known_good"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"known_as"</span>: <span class="pl-s"><span class="pl-pds">"</span>Google Public DNS<span class="pl-pds">"</span></span> }, <span class="pl-ent">"fingerprinting"</span>: { <span class="pl-ent">"ports"</span>: [ <span class="pl-c1">53</span>, <span class="pl-c1">443</span> ] } } ] }</pre></div> <p dir="auto"></p></details> <details><summary><i>Example 2 - ASN lookup</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-1" class="anchor" aria-label="Permalink: Command:" href="#command-1"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -J 5505</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-1" class="anchor" aria-label="Permalink: Output:" href="#output-1"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;target&quot;: &quot;5505&quot;, &quot;target_type&quot;: &quot;asn&quot;, &quot;result&quot;: &quot;ok&quot;, &quot;reason&quot;: &quot;success&quot;, &quot;version&quot;: &quot;0.78.0&quot;, &quot;request_time&quot;: &quot;2024-08-20T02:50:46&quot;, &quot;request_duration&quot;: 17, &quot;api_tokens&quot;: { &quot;ipqualityscore&quot;: true, &quot;ipinfo&quot;: true, &quot;cloudflare&quot;: true }, &quot;result_count&quot;: 1, &quot;results&quot;: [ { &quot;asn&quot;: &quot;5505&quot;, &quot;asname&quot;: &quot;VADAVO, ES&quot;, &quot;asrank&quot;: 4448, &quot;org&quot;: &quot;VDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM&quot;, &quot;holder&quot;: &quot;VADAVO SOLUCIONES SL&quot;, &quot;abuse_contacts&quot;: [ &quot;abuse@vadavo.com&quot; ], &quot;registration_date&quot;: &quot;2016-12-13T08:28:07&quot;, &quot;ixp_presence&quot;: [ &quot;DE-CIX Madrid: DE-CIX Madrid Peering LAN&quot;, &quot;ESpanix Madrid Lower LAN&quot; ], &quot;prefix_count_v4&quot;: 8, &quot;prefix_count_v6&quot;: 1, &quot;bgp_peer_count&quot;: 36, &quot;bgp_hijack_incidents&quot;: { &quot;total&quot;: 0, &quot;as_hijacker&quot;: 0, &quot;as_victim&quot;: 0 }, &quot;bgp_leak_incidents&quot;: { &quot;total&quot;: 0 }, &quot;bgp_peers&quot;: { &quot;upstream&quot;: [ &quot;1299&quot;, &quot;6939&quot;, &quot;59432&quot;, &quot;174&quot;, &quot;34549&quot;, &quot;25091&quot;, &quot;35625&quot;, &quot;33891&quot;, &quot;48348&quot;, &quot;13030&quot;, &quot;8218&quot;, &quot;41327&quot;, &quot;3303&quot;, &quot;4455&quot;, &quot;6424&quot;, &quot;6057&quot;, &quot;34927&quot;, &quot;9498&quot;, &quot;35280&quot;, &quot;1239&quot; ], &quot;downstream&quot;: [ &quot;48952&quot;, &quot;208248&quot;, &quot;205086&quot;, &quot;202054&quot; ], &quot;uncertain&quot;: [ &quot;24482&quot;, &quot;51185&quot;, &quot;41047&quot;, &quot;29680&quot;, &quot;212483&quot;, &quot;198150&quot;, &quot;14840&quot;, &quot;49544&quot;, &quot;39384&quot;, &quot;37721&quot;, &quot;36236&quot;, &quot;25160&quot; ] }, &quot;announced_prefixes&quot;: { &quot;v4&quot;: [ &quot;185.210.225.0/24&quot;, &quot;188.130.247.0/24&quot;, &quot;185.210.227.0/24&quot;, &quot;185.123.205.0/24&quot;, &quot;185.123.207.0/24&quot;, &quot;185.210.226.0/24&quot;, &quot;185.123.206.0/24&quot;, &quot;185.123.204.0/24&quot; ], &quot;v6&quot;: [ &quot;2a03:9320::/32&quot; ] }, &quot;inetnums&quot;: { &quot;v4&quot;: [ &quot;185.123.204.0/22&quot;, &quot;185.210.225.0/24&quot;, &quot;185.210.226.0/24&quot;, &quot;185.210.227.0/24&quot;, &quot;188.130.247.0/24&quot; ], &quot;v6&quot;: [ &quot;2a03:9320::/32&quot; ] }, &quot;inetnums_announced_by_other_as&quot;: { &quot;v4&quot;: [ { &quot;prefix&quot;: &quot;188.130.254.0/24&quot;, &quot;origin_asn&quot;: &quot;&quot;, &quot;origin_org&quot;: &quot;&quot;, &quot;is_announced&quot;: false } ], &quot;v6&quot;: [] } } ] }"><pre>{ <span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>5505<span class="pl-pds">"</span></span>, <span class="pl-ent">"target_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>asn<span class="pl-pds">"</span></span>, <span class="pl-ent">"result"</span>: <span class="pl-s"><span class="pl-pds">"</span>ok<span class="pl-pds">"</span></span>, <span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>success<span class="pl-pds">"</span></span>, <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.78.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_time"</span>: <span class="pl-s"><span class="pl-pds">"</span>2024-08-20T02:50:46<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_duration"</span>: <span class="pl-c1">17</span>, <span class="pl-ent">"api_tokens"</span>: { <span class="pl-ent">"ipqualityscore"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"ipinfo"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"cloudflare"</span>: <span class="pl-c1">true</span> }, <span class="pl-ent">"result_count"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"results"</span>: [ { <span class="pl-ent">"asn"</span>: <span class="pl-s"><span class="pl-pds">"</span>5505<span class="pl-pds">"</span></span>, <span class="pl-ent">"asname"</span>: <span class="pl-s"><span class="pl-pds">"</span>VADAVO, ES<span class="pl-pds">"</span></span>, <span class="pl-ent">"asrank"</span>: <span class="pl-c1">4448</span>, <span class="pl-ent">"org"</span>: <span class="pl-s"><span class="pl-pds">"</span>VDV-VLC-RED06 VDV-VLC-RED06 - CLIENTES TELECOM<span class="pl-pds">"</span></span>, <span class="pl-ent">"holder"</span>: <span class="pl-s"><span class="pl-pds">"</span>VADAVO SOLUCIONES SL<span class="pl-pds">"</span></span>, <span class="pl-ent">"abuse_contacts"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>abuse@vadavo.com<span class="pl-pds">"</span></span> ], <span class="pl-ent">"registration_date"</span>: <span class="pl-s"><span class="pl-pds">"</span>2016-12-13T08:28:07<span class="pl-pds">"</span></span>, <span class="pl-ent">"ixp_presence"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>DE-CIX Madrid: DE-CIX Madrid Peering LAN<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ESpanix Madrid Lower LAN<span class="pl-pds">"</span></span> ], <span class="pl-ent">"prefix_count_v4"</span>: <span class="pl-c1">8</span>, <span class="pl-ent">"prefix_count_v6"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"bgp_peer_count"</span>: <span class="pl-c1">36</span>, <span class="pl-ent">"bgp_hijack_incidents"</span>: { <span class="pl-ent">"total"</span>: <span class="pl-c1">0</span>, <span class="pl-ent">"as_hijacker"</span>: <span class="pl-c1">0</span>, <span class="pl-ent">"as_victim"</span>: <span class="pl-c1">0</span> }, <span class="pl-ent">"bgp_leak_incidents"</span>: { <span class="pl-ent">"total"</span>: <span class="pl-c1">0</span> }, <span class="pl-ent">"bgp_peers"</span>: { <span class="pl-ent">"upstream"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>1299<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>6939<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>59432<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>174<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>34549<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>25091<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>35625<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>33891<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>48348<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>13030<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>8218<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>41327<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>3303<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>4455<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>6424<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>6057<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>34927<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>9498<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>35280<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>1239<span class="pl-pds">"</span></span> ], <span class="pl-ent">"downstream"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>48952<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>208248<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>205086<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>202054<span class="pl-pds">"</span></span> ], <span class="pl-ent">"uncertain"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>24482<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>51185<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>41047<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>29680<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>212483<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>198150<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>14840<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>49544<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>39384<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>37721<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>36236<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>25160<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"announced_prefixes"</span>: { <span class="pl-ent">"v4"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>185.210.225.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>188.130.247.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.210.227.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.123.205.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.123.207.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.210.226.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.123.206.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.123.204.0/24<span class="pl-pds">"</span></span> ], <span class="pl-ent">"v6"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>2a03:9320::/32<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"inetnums"</span>: { <span class="pl-ent">"v4"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>185.123.204.0/22<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.210.225.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.210.226.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>185.210.227.0/24<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>188.130.247.0/24<span class="pl-pds">"</span></span> ], <span class="pl-ent">"v6"</span>: [ <span class="pl-s"><span class="pl-pds">"</span>2a03:9320::/32<span class="pl-pds">"</span></span> ] }, <span class="pl-ent">"inetnums_announced_by_other_as"</span>: { <span class="pl-ent">"v4"</span>: [ { <span class="pl-ent">"prefix"</span>: <span class="pl-s"><span class="pl-pds">"</span>188.130.254.0/24<span class="pl-pds">"</span></span>, <span class="pl-ent">"origin_asn"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>, <span class="pl-ent">"origin_org"</span>: <span class="pl-s"><span class="pl-pds">"</span><span class="pl-pds">"</span></span>, <span class="pl-ent">"is_announced"</span>: <span class="pl-c1">false</span> } ], <span class="pl-ent">"v6"</span>: [] } } ] }</pre></div> <p dir="auto"></p></details> <details><summary><i>Example 3 - enumerating abuse contacts for every IP to which a hostname resolves</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-2" class="anchor" aria-label="Permalink: Command:" href="#command-2"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -j www.google.com | jq '[.results[].abuse_contacts[]] | unique[]'</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-2" class="anchor" aria-label="Permalink: Output:" href="#output-2"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;network-abuse@google.com&quot; &quot;ripe-contact@google.com&quot;"><pre class="notranslate"><code>"network-abuse@google.com" "ripe-contact@google.com" </code></pre></div> <p dir="auto"></p></details> <details><summary><i>Example 4 - enumerating known vulnerabilities for a target</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-3" class="anchor" aria-label="Permalink: Command:" href="#command-3"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -j 45.67.34.100 | jq '.results[].fingerprinting.vulns[]'</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-3" class="anchor" aria-label="Permalink: Output:" href="#output-3"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;CVE-2017-15906&quot; &quot;CVE-2018-15919&quot;"><pre class="notranslate"><code>"CVE-2017-15906" "CVE-2018-15919" </code></pre></div> <p dir="auto"></p></details> <details><summary><i>Example 5 - upstream/transit AS lookup for a given IP</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-4" class="anchor" aria-label="Permalink: Command:" href="#command-4"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -Ju 72.17.119.201</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-4" class="anchor" aria-label="Permalink: Output:" href="#output-4"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{ &quot;target&quot;: &quot;72.17.119.201&quot;, &quot;target_type&quot;: &quot;ipv4&quot;, &quot;result&quot;: &quot;ok&quot;, &quot;reason&quot;: &quot;success&quot;, &quot;version&quot;: &quot;0.78.0&quot;, &quot;request_time&quot;: &quot;2024-08-20T02:54:03&quot;, &quot;request_duration&quot;: 4, &quot;api_tokens&quot;: { &quot;ipqualityscore&quot;: true, &quot;ipinfo&quot;: true, &quot;cloudflare&quot;: true }, &quot;result_count&quot;: 1, &quot;results&quot;: [ { &quot;prefix&quot;: &quot;72.17.0.0/17&quot;, &quot;origin_as&quot;: &quot;33363&quot;, &quot;origin_as_name&quot;: &quot;BHN-33363, US&quot;, &quot;origin_as_rank&quot;: 441, &quot;upstreams_count&quot;: 1, &quot;upstreams&quot;: [ { &quot;asn&quot;: &quot;7843&quot;, &quot;asname&quot;: &quot;TWC-7843-BB, US&quot;, &quot;probability&quot;: 100, &quot;is_tier1&quot;: false } ], &quot;multiple_upstreams&quot;: false } ] }"><pre>{ <span class="pl-ent">"target"</span>: <span class="pl-s"><span class="pl-pds">"</span>72.17.119.201<span class="pl-pds">"</span></span>, <span class="pl-ent">"target_type"</span>: <span class="pl-s"><span class="pl-pds">"</span>ipv4<span class="pl-pds">"</span></span>, <span class="pl-ent">"result"</span>: <span class="pl-s"><span class="pl-pds">"</span>ok<span class="pl-pds">"</span></span>, <span class="pl-ent">"reason"</span>: <span class="pl-s"><span class="pl-pds">"</span>success<span class="pl-pds">"</span></span>, <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.78.0<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_time"</span>: <span class="pl-s"><span class="pl-pds">"</span>2024-08-20T02:54:03<span class="pl-pds">"</span></span>, <span class="pl-ent">"request_duration"</span>: <span class="pl-c1">4</span>, <span class="pl-ent">"api_tokens"</span>: { <span class="pl-ent">"ipqualityscore"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"ipinfo"</span>: <span class="pl-c1">true</span>, <span class="pl-ent">"cloudflare"</span>: <span class="pl-c1">true</span> }, <span class="pl-ent">"result_count"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"results"</span>: [ { <span class="pl-ent">"prefix"</span>: <span class="pl-s"><span class="pl-pds">"</span>72.17.0.0/17<span class="pl-pds">"</span></span>, <span class="pl-ent">"origin_as"</span>: <span class="pl-s"><span class="pl-pds">"</span>33363<span class="pl-pds">"</span></span>, <span class="pl-ent">"origin_as_name"</span>: <span class="pl-s"><span class="pl-pds">"</span>BHN-33363, US<span class="pl-pds">"</span></span>, <span class="pl-ent">"origin_as_rank"</span>: <span class="pl-c1">441</span>, <span class="pl-ent">"upstreams_count"</span>: <span class="pl-c1">1</span>, <span class="pl-ent">"upstreams"</span>: [ { <span class="pl-ent">"asn"</span>: <span class="pl-s"><span class="pl-pds">"</span>7843<span class="pl-pds">"</span></span>, <span class="pl-ent">"asname"</span>: <span class="pl-s"><span class="pl-pds">"</span>TWC-7843-BB, US<span class="pl-pds">"</span></span>, <span class="pl-ent">"probability"</span>: <span class="pl-c1">100</span>, <span class="pl-ent">"is_tier1"</span>: <span class="pl-c1">false</span> } ], <span class="pl-ent">"multiple_upstreams"</span>: <span class="pl-c1">false</span> } ] }</pre></div> <p dir="auto"></p></details> <details><summary><i>Example 6 - enumerating unannounced address blocks for a given AS</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-5" class="anchor" aria-label="Permalink: Command:" href="#command-5"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -j AS5505 | jq -r '.results[].inetnums_announced_by_other_as.v4[] | select(.is_announced==false) | .prefix'</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-5" class="anchor" aria-label="Permalink: Output:" href="#output-5"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="188.130.254.0/24"><pre class="notranslate"><code>188.130.254.0/24 </code></pre></div> <p dir="auto"></p></details> <details><summary><i>Example 7 - enumerating the amount of BGP hijacking incidents involving a given AS</i></summary><p dir="auto"> </p><div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Command:</h5><a id="user-content-command-6" class="anchor" aria-label="Permalink: Command:" href="#command-6"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto"><code>asn -j AS8860 | jq '.results[].bgp_hijack_incidents'</code></p> <div class="markdown-heading" dir="auto"><h5 tabindex="-1" class="heading-element" dir="auto">Output:</h5><a id="user-content-output-6" class="anchor" aria-label="Permalink: Output:" href="#output-6"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;total&quot;: 18, &quot;as_hijacker&quot;: 11, &quot;as_victim&quot;: 7 }"><pre class="notranslate"><code>{ "total": 18, "as_hijacker": 11, "as_victim": 7 } </code></pre></div> <p dir="auto"></p></details> <div class="markdown-heading" dir="auto"><h4 tabindex="-1" class="heading-element" dir="auto">Remotely (API endpoint)</h4><a id="user-content-remotely-api-endpoint" class="anchor" aria-label="Permalink: Remotely (API endpoint)" href="#remotely-api-endpoint"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">By running the script in <a href="#running-lookups-from-the-browser">server mode</a>, it is possible to use it as a self-hosted lookup API service by running HTTP queries against it and retrieving the results in compact or pretty-printed JSON format. The server exposes the <code>asn_lookup_json</code> and <code>asn_lookup_jsonp</code> endpoints for this purpose. The syntax is the same as with normal browser-based remote queries.</p> <p dir="auto"><em>Example 1: querying the server remotely using <code>curl</code> (compact output):</em></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="root@KRUSTY:~# curl -s &quot;http://localhost:49200/asn_lookup_json&amp;1.1.1.1&quot; {&quot;target&quot;:&quot;1.1.1.1&quot;,&quot;target_type&quot;:&quot;ipv4&quot;,&quot;result&quot;:&quot;ok&quot;,&quot;reason&quot;:&quot;success&quot;,&quot;version&quot;:&quot;0.72.1&quot;,&quot;request_time&quot;:&quot;2022-03-29T00:13:11&quot;,&quot;request_duration&quot;:5,&quot;result_count&quot;:1,&quot;results&quot;:[{&quot;ip&quot;:&quot;1.1.1.1&quot;,&quot;ip_version&quot;:&quot;4&quot;,&quot;reverse&quot;:&quot;one.one.one.one&quot;,&quot;org_name&quot;:&quot;APNIC and Cloudflare DNS Resolver project&quot;,&quot;abuse_contacts&quot;:[&quot;helpdesk@apnic.net&quot;],&quot;routing&quot;:{&quot;is_announced&quot;:true,&quot;as_number&quot;:&quot;13335&quot;,&quot;as_name&quot;:&quot;CLOUDFLARENET, US&quot;,&quot;net_range&quot;:&quot;1.1.1.0/24&quot;,&quot;net_name&quot;:&quot;APNIC-LABS&quot;,&quot;roa_count&quot;:&quot;1&quot;,&quot;roa_validity&quot;:&quot;valid&quot;},&quot;type&quot;:{&quot;is_bogon&quot;:false,&quot;is_anycast&quot;:true,&quot;is_mobile&quot;:false,&quot;is_proxy&quot;:false,&quot;is_dc&quot;:true,&quot;dc_details&quot;:{&quot;dc_name&quot;:&quot;Cloudflare&quot;},&quot;is_ixp&quot;:false},&quot;geolocation&quot;:{&quot;city&quot;:&quot;Magomeni&quot;,&quot;region&quot;:&quot;Dar es Salaam&quot;,&quot;country&quot;:&quot;Tanzania&quot;,&quot;cc&quot;:&quot;TZ&quot;},&quot;reputation&quot;:{&quot;status&quot;:&quot;good&quot;,&quot;is_known_good&quot;:true,&quot;known_as&quot;:&quot;Cloudflare Public DNS&quot;},&quot;fingerprinting&quot;:{&quot;ports&quot;:[53,80,443]}}]}"><pre>root@KRUSTY:<span class="pl-k">~</span><span class="pl-c"><span class="pl-c">#</span> curl -s "http://localhost:49200/asn_lookup_json&amp;1.1.1.1"</span> {<span class="pl-s"><span class="pl-pds">"</span>target<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>1.1.1.1<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>target_type<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>ipv4<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>result<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>ok<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>reason<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>success<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>version<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>0.72.1<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>request_time<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>2022-03-29T00:13:11<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>request_duration<span class="pl-pds">"</span></span>:5,<span class="pl-s"><span class="pl-pds">"</span>result_count<span class="pl-pds">"</span></span>:1,<span class="pl-s"><span class="pl-pds">"</span>results<span class="pl-pds">"</span></span>:[{<span class="pl-s"><span class="pl-pds">"</span>ip<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>1.1.1.1<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>ip_version<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>4<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>reverse<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>one.one.one.one<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>org_name<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>APNIC and Cloudflare DNS Resolver project<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>abuse_contacts<span class="pl-pds">"</span></span>:[<span class="pl-s"><span class="pl-pds">"</span>helpdesk@apnic.net<span class="pl-pds">"</span></span>],<span class="pl-s"><span class="pl-pds">"</span>routing<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>is_announced<span class="pl-pds">"</span></span>:true,<span class="pl-s"><span class="pl-pds">"</span>as_number<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>13335<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>as_name<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>CLOUDFLARENET, US<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>net_range<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>1.1.1.0/24<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>net_name<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>APNIC-LABS<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>roa_count<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>1<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>roa_validity<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>valid<span class="pl-pds">"</span></span>},<span class="pl-s"><span class="pl-pds">"</span>type<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>is_bogon<span class="pl-pds">"</span></span>:false,<span class="pl-s"><span class="pl-pds">"</span>is_anycast<span class="pl-pds">"</span></span>:true,<span class="pl-s"><span class="pl-pds">"</span>is_mobile<span class="pl-pds">"</span></span>:false,<span class="pl-s"><span class="pl-pds">"</span>is_proxy<span class="pl-pds">"</span></span>:false,<span class="pl-s"><span class="pl-pds">"</span>is_dc<span class="pl-pds">"</span></span>:true,<span class="pl-s"><span class="pl-pds">"</span>dc_details<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>dc_name<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>Cloudflare<span class="pl-pds">"</span></span>},<span class="pl-s"><span class="pl-pds">"</span>is_ixp<span class="pl-pds">"</span></span>:false},<span class="pl-s"><span class="pl-pds">"</span>geolocation<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>city<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>Magomeni<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>region<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>Dar es Salaam<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>country<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>Tanzania<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>cc<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>TZ<span class="pl-pds">"</span></span>},<span class="pl-s"><span class="pl-pds">"</span>reputation<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>status<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>good<span class="pl-pds">"</span></span>,<span class="pl-s"><span class="pl-pds">"</span>is_known_good<span class="pl-pds">"</span></span>:true,<span class="pl-s"><span class="pl-pds">"</span>known_as<span class="pl-pds">"</span></span>:<span class="pl-s"><span class="pl-pds">"</span>Cloudflare Public DNS<span class="pl-pds">"</span></span>},<span class="pl-s"><span class="pl-pds">"</span>fingerprinting<span class="pl-pds">"</span></span>:{<span class="pl-s"><span class="pl-pds">"</span>ports<span class="pl-pds">"</span></span>:[53,80,443]}}]}</pre></div> <p dir="auto"><em>Example 2: querying the server remotely using <code>curl</code> (pretty printed output):</em></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="root@KRUSTY:~# curl -s &quot;http://localhost:49200/asn_lookup_jsonp&amp;10.0.0.1&quot; { &quot;target&quot;: &quot;10.0.0.1&quot;, &quot;target_type&quot;: &quot;ipv4&quot;, &quot;result&quot;: &quot;ok&quot;, &quot;reason&quot;: &quot;success&quot;, &quot;version&quot;: &quot;0.72.1&quot;, &quot;request_time&quot;: &quot;2022-03-29T00:14:57&quot;, &quot;request_duration&quot;: 0, &quot;result_count&quot;: 1, &quot;results&quot;: [ { &quot;ip&quot;: &quot;10.0.0.1&quot;, &quot;ip_version&quot;: &quot;4&quot;, &quot;org_name&quot;: &quot;IANA&quot;, &quot;routing&quot;: { &quot;is_announced&quot;: false, &quot;net_name&quot;: &quot;PRIVATE-ADDRESS-ABLK-RFC1918-IANA-RESERVED&quot; }, &quot;type&quot;: { &quot;is_bogon&quot;: true, &quot;bogon_type&quot;: &quot;rfc1918 (Private Space)&quot; }, &quot;reputation&quot;: {}, &quot;fingerprinting&quot;: {} } ] }"><pre>root@KRUSTY:<span class="pl-k">~</span><span class="pl-c"><span class="pl-c">#</span> curl -s "http://localhost:49200/asn_lookup_jsonp&amp;10.0.0.1"</span> { <span class="pl-s"><span class="pl-pds">"</span>target<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>10.0.0.1<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>target_type<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>ipv4<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>result<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>ok<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>reason<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>success<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>version<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>0.72.1<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>request_time<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>2022-03-29T00:14:57<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>request_duration<span class="pl-pds">"</span></span>: 0, <span class="pl-s"><span class="pl-pds">"</span>result_count<span class="pl-pds">"</span></span>: 1, <span class="pl-s"><span class="pl-pds">"</span>results<span class="pl-pds">"</span></span>: [ { <span class="pl-s"><span class="pl-pds">"</span>ip<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>10.0.0.1<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>ip_version<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>4<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>org_name<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>IANA<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>routing<span class="pl-pds">"</span></span>: { <span class="pl-s"><span class="pl-pds">"</span>is_announced<span class="pl-pds">"</span></span>: false, <span class="pl-s"><span class="pl-pds">"</span>net_name<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>PRIVATE-ADDRESS-ABLK-RFC1918-IANA-RESERVED<span class="pl-pds">"</span></span> }, <span class="pl-s"><span class="pl-pds">"</span>type<span class="pl-pds">"</span></span>: { <span class="pl-s"><span class="pl-pds">"</span>is_bogon<span class="pl-pds">"</span></span>: true, <span class="pl-s"><span class="pl-pds">"</span>bogon_type<span class="pl-pds">"</span></span>: <span class="pl-s"><span class="pl-pds">"</span>rfc1918 (Private Space)<span class="pl-pds">"</span></span> }, <span class="pl-s"><span class="pl-pds">"</span>reputation<span class="pl-pds">"</span></span>: {}, <span class="pl-s"><span class="pl-pds">"</span>fingerprinting<span class="pl-pds">"</span></span>: {} } ] }</pre></div> <hr> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Thanks</h2><a id="user-content-thanks" class="anchor" aria-label="Permalink: Thanks" href="#thanks"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">An initial version of this script was featured in the <strong>Security Trails</strong> blog post "<a href="https://securitytrails.com/blog/asn-lookup#autonomous-system-lookup-script" rel="nofollow"><em>ASN Lookup Tools, Strategies and Techniques</em></a>". Thank you <a href="https://www.estebanborges.com/" rel="nofollow">Esteban</a>!</p> <p dir="auto">Thanks <a href="https://github.com/massimocandela/">Massimo Candela</a> for your support and excellent work on <a href="https://ipmap.ripe.net/" rel="nofollow">IPmap</a>, <a href="https://github.com/massimocandela/BGPlay">BGPlay</a> and <a href="https://github.com/RIPE-NCC/tracemon">TraceMON</a>!</p> <p dir="auto">Thanks to all the awesome contributors for their code, ideas, suggestions, packages and bug reports!</p> <div class="markdown-heading" dir="auto"><h2 tabindex="-1" class="heading-element" dir="auto">Feedback and contributing</h2><a id="user-content-feedback-and-contributing" class="anchor" aria-label="Permalink: Feedback and contributing" href="#feedback-and-contributing"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg></a></div> <p dir="auto">Any feedback or pull request to improve the code is welcome. Feel free to contribute!</p> </article></div></div></div></div></div> <!-- --> <!-- --> <script type="application/json" id="__PRIMER_DATA_:R0:__">{"resolvedServerColorMode":"day"}</script></div> </react-partial> <input type="hidden" data-csrf="true" value="H2ioq50ysR4khCJQLSZsZjny/YU+2fJ+d4aQ4WKbp8NFhXp4uabBpf5eCaO8R9fT1DaVfQfSyFi7C2qY4wXrfQ==" /> </div> <div data-view-component="true" class="Layout-sidebar"> <div class="BorderGrid about-margin" data-pjax> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <div class="hide-sm hide-md"> <h2 class="mb-3 h4">About</h2> <p class="f4 my-3"> ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server </p> <h3 class="sr-only">Topics</h3> <div class="my-3"> <div class="f6"> <a href="/topics/api" title="Topic: api" data-view-component="true" class="topic-tag topic-tag-link"> api </a> <a href="/topics/bash" title="Topic: bash" data-view-component="true" class="topic-tag topic-tag-link"> bash </a> <a href="/topics/shodan" title="Topic: shodan" data-view-component="true" class="topic-tag topic-tag-link"> shodan </a> <a href="/topics/osint" title="Topic: osint" data-view-component="true" class="topic-tag topic-tag-link"> osint </a> <a href="/topics/bgp" title="Topic: bgp" data-view-component="true" class="topic-tag topic-tag-link"> bgp </a> <a href="/topics/geolocation" title="Topic: geolocation" data-view-component="true" class="topic-tag topic-tag-link"> geolocation </a> <a href="/topics/incident-response" title="Topic: incident-response" data-view-component="true" class="topic-tag topic-tag-link"> incident-response </a> <a href="/topics/whois" title="Topic: whois" data-view-component="true" class="topic-tag topic-tag-link"> whois </a> <a href="/topics/asn" title="Topic: asn" data-view-component="true" class="topic-tag topic-tag-link"> asn </a> <a href="/topics/ip-lookup" title="Topic: ip-lookup" data-view-component="true" class="topic-tag topic-tag-link"> ip-lookup </a> <a href="/topics/recon" title="Topic: recon" data-view-component="true" class="topic-tag topic-tag-link"> recon </a> <a href="/topics/fingerprinting" title="Topic: fingerprinting" data-view-component="true" class="topic-tag topic-tag-link"> fingerprinting </a> <a href="/topics/traceroute" title="Topic: traceroute" data-view-component="true" class="topic-tag topic-tag-link"> traceroute </a> <a href="/topics/mtr" title="Topic: mtr" data-view-component="true" class="topic-tag topic-tag-link"> mtr </a> <a href="/topics/rpki" title="Topic: rpki" data-view-component="true" class="topic-tag topic-tag-link"> rpki </a> <a href="/topics/autonomous-systems" title="Topic: autonomous-systems" data-view-component="true" class="topic-tag topic-tag-link"> autonomous-systems </a> <a href="/topics/ip-reputation" title="Topic: ip-reputation" data-view-component="true" class="topic-tag topic-tag-link"> ip-reputation </a> <a href="/topics/as-path" title="Topic: as-path" data-view-component="true" class="topic-tag topic-tag-link"> as-path </a> <a href="/topics/asn-lookup" title="Topic: asn-lookup" data-view-component="true" class="topic-tag topic-tag-link"> asn-lookup </a> <a href="/topics/team-cymru" title="Topic: team-cymru" data-view-component="true" class="topic-tag topic-tag-link"> team-cymru </a> </div> </div> <h3 class="sr-only">Resources</h3> <div class="mt-2"> <a class="Link--muted" data-analytics-event="{&quot;category&quot;:&quot;Repository Overview&quot;,&quot;action&quot;:&quot;click&quot;,&quot;label&quot;:&quot;location:sidebar;file:readme&quot;}" href="#readme-ov-file"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-book mr-2"> <path d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"></path> </svg> Readme </a> </div> <h3 class="sr-only">License</h3> <div class="mt-2"> <a href="#MIT-1-ov-file" class="Link--muted" data-analytics-event="{&quot;category&quot;:&quot;Repository Overview&quot;,&quot;action&quot;:&quot;click&quot;,&quot;label&quot;:&quot;location:sidebar;file:license&quot;}" > <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-law mr-2"> <path d="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z"></path> </svg> MIT license </a> </div> <include-fragment src="/nitefood/asn/hovercards/citation/sidebar_partial?tree_name=master"> </include-fragment> <div class="mt-2"> <a href="/nitefood/asn/activity" data-view-component="true" class="Link Link--muted"><svg text="gray" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-pulse mr-2"> <path d="M6 2c.306 0 .582.187.696.471L10 10.731l1.304-3.26A.751.751 0 0 1 12 7h3.25a.75.75 0 0 1 0 1.5h-2.742l-1.812 4.528a.751.751 0 0 1-1.392 0L6 4.77 4.696 8.03A.75.75 0 0 1 4 8.5H.75a.75.75 0 0 1 0-1.5h2.742l1.812-4.529A.751.751 0 0 1 6 2Z"></path> </svg> <span class="color-fg-muted">Activity</span></a> </div> <h3 class="sr-only">Stars</h3> <div class="mt-2"> <a href="/nitefood/asn/stargazers" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-star mr-2"> <path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"></path> </svg> <strong>1.5k</strong> stars</a> </div> <h3 class="sr-only">Watchers</h3> <div class="mt-2"> <a href="/nitefood/asn/watchers" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-eye mr-2"> <path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"></path> </svg> <strong>37</strong> watching</a> </div> <h3 class="sr-only">Forks</h3> <div class="mt-2"> <a href="/nitefood/asn/forks" data-view-component="true" class="Link Link--muted"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-repo-forked mr-2"> <path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"></path> </svg> <strong>167</strong> forks</a> </div> <div class="mt-2"> <a class="Link--muted" href="/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fnitefood%2Fasn&amp;report=nitefood+%28user%29"> Report repository </a> </div> </div> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame"> <a href="/nitefood/asn/releases" data-view-component="true" class="Link--primary no-underline Link">Releases <span title="14" data-view-component="true" class="Counter">14</span></a></h2> <a class="Link--primary d-flex no-underline" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/nitefood/asn/releases/tag/v0.78.3"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-tag flex-shrink-0 mt-1 color-fg-success"> <path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"></path> </svg> <div class="ml-2 min-width-0"> <div class="d-flex"> <span class="css-truncate css-truncate-target text-bold mr-2" style="max-width: none;">v0.78.3</span> <span title="Label: Latest" data-view-component="true" class="Label Label--success flex-shrink-0"> Latest </span> </div> <div class="text-small color-fg-muted"><relative-time datetime="2025-01-26T16:46:04Z" class="no-wrap">Jan 26, 2025</relative-time></div> </div> </a> <div data-view-component="true" class="mt-3"> <a text="small" data-pjax="#repo-content-pjax-container" data-turbo-frame="repo-content-turbo-frame" href="/nitefood/asn/releases" data-view-component="true" class="Link">+ 13 releases</a></div> </div> </div> <div class="BorderGrid-row" hidden> <div class="BorderGrid-cell"> <include-fragment src="/nitefood/asn/used_by_list" accept="text/fragment+html"> </include-fragment> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3"> <a href="/nitefood/asn/graphs/contributors" data-view-component="true" class="Link--primary no-underline Link d-flex flex-items-center">Contributors <span title="11" data-view-component="true" class="Counter ml-1">11</span></a></h2> <include-fragment src="/nitefood/asn/contributors_list?count=11&amp;current_repository=asn&amp;items_to_show=11" aria-busy="true" aria-label="Loading contributors"> <ul class="list-style-none d-flex flex-wrap mb-n2"> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> <li class="mb-2 "> <div class="Skeleton avatar avatar-user mr-2" style="width:32px;height:32px;"></div> </li> </ul> </include-fragment> </div> </div> <div class="BorderGrid-row"> <div class="BorderGrid-cell"> <h2 class="h4 mb-3">Languages</h2> <div class="mb-2"> <span data-view-component="true" class="Progress"> <span style="background-color:#89e051 !important;;width: 97.2%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis"></span> <span style="background-color:#ecdebe !important;;width: 2.4%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis"></span> <span style="background-color:#384d54 !important;;width: 0.4%;" itemprop="keywords" data-view-component="true" class="Progress-item color-bg-success-emphasis"></span> </span></div> <ul class="list-style-none"> <li class="d-inline"> <a class="d-inline-flex flex-items-center flex-nowrap Link--secondary no-underline text-small mr-3" href="/nitefood/asn/search?l=shell" data-ga-click="Repository, language stats search click, location:repo overview"> <svg style="color:#89e051;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill mr-2"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> <span class="color-fg-default text-bold mr-1">Shell</span> <span>97.2%</span> </a> </li> <li class="d-inline"> <a class="d-inline-flex flex-items-center flex-nowrap Link--secondary no-underline text-small mr-3" href="/nitefood/asn/search?l=roff" data-ga-click="Repository, language stats search click, location:repo overview"> <svg style="color:#ecdebe;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill mr-2"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> <span class="color-fg-default text-bold mr-1">Roff</span> <span>2.4%</span> </a> </li> <li class="d-inline"> <a class="d-inline-flex flex-items-center flex-nowrap Link--secondary no-underline text-small mr-3" href="/nitefood/asn/search?l=dockerfile" data-ga-click="Repository, language stats search click, location:repo overview"> <svg style="color:#384d54;" aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-dot-fill mr-2"> <path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"></path> </svg> <span class="color-fg-default text-bold mr-1">Dockerfile</span> <span>0.4%</span> </a> </li> </ul> </div> </div> </div> </div> </div></div> </div> </div> </turbo-frame> </main> </div> </div> <footer class="footer pt-8 pb-6 f6 color-fg-muted p-responsive" role="contentinfo" > <h2 class='sr-only'>Footer</h2> <div class="d-flex flex-justify-center flex-items-center flex-column-reverse flex-lg-row flex-wrap flex-lg-nowrap"> <div class="d-flex flex-items-center flex-shrink-0 mx-2"> <a aria-label="Homepage" title="GitHub" class="footer-octicon mr-2" href="https://github.com"> <svg aria-hidden="true" height="24" viewBox="0 0 24 24" version="1.1" width="24" data-view-component="true" class="octicon octicon-mark-github"> <path d="M12 1C5.9225 1 1 5.9225 1 12C1 16.8675 4.14875 20.9787 8.52125 22.4362C9.07125 22.5325 9.2775 22.2025 9.2775 21.9137C9.2775 21.6525 9.26375 20.7862 9.26375 19.865C6.5 20.3737 5.785 19.1912 5.565 18.5725C5.44125 18.2562 4.905 17.28 4.4375 17.0187C4.0525 16.8125 3.5025 16.3037 4.42375 16.29C5.29 16.2762 5.90875 17.0875 6.115 17.4175C7.105 19.0812 8.68625 18.6137 9.31875 18.325C9.415 17.61 9.70375 17.1287 10.02 16.8537C7.5725 16.5787 5.015 15.63 5.015 11.4225C5.015 10.2262 5.44125 9.23625 6.1425 8.46625C6.0325 8.19125 5.6475 7.06375 6.2525 5.55125C6.2525 5.55125 7.17375 5.2625 9.2775 6.67875C10.1575 6.43125 11.0925 6.3075 12.0275 6.3075C12.9625 6.3075 13.8975 6.43125 14.7775 6.67875C16.8813 5.24875 17.8025 5.55125 17.8025 5.55125C18.4075 7.06375 18.0225 8.19125 17.9125 8.46625C18.6138 9.23625 19.04 10.2125 19.04 11.4225C19.04 15.6437 16.4688 16.5787 14.0213 16.8537C14.42 17.1975 14.7638 17.8575 14.7638 18.8887C14.7638 20.36 14.75 21.5425 14.75 21.9137C14.75 22.2025 14.9563 22.5462 15.5063 22.4362C19.8513 20.9787 23 16.8537 23 12C23 5.9225 18.0775 1 12 1Z"></path> </svg> </a> <span> &copy; 2025 GitHub,&nbsp;Inc. </span> </div> <nav aria-label="Footer"> <h3 class="sr-only" id="sr-footer-heading">Footer navigation</h3> <ul class="list-style-none d-flex flex-justify-center flex-wrap mb-2 mb-lg-0" aria-labelledby="sr-footer-heading"> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to Terms&quot;,&quot;label&quot;:&quot;text:terms&quot;}" href="https://docs.github.com/site-policy/github-terms/github-terms-of-service" data-view-component="true" class="Link--secondary Link">Terms</a> </li> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to privacy&quot;,&quot;label&quot;:&quot;text:privacy&quot;}" href="https://docs.github.com/site-policy/privacy-policies/github-privacy-statement" data-view-component="true" class="Link--secondary Link">Privacy</a> </li> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to security&quot;,&quot;label&quot;:&quot;text:security&quot;}" href="https://github.com/security" data-view-component="true" class="Link--secondary Link">Security</a> </li> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to status&quot;,&quot;label&quot;:&quot;text:status&quot;}" href="https://www.githubstatus.com/" data-view-component="true" class="Link--secondary Link">Status</a> </li> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to docs&quot;,&quot;label&quot;:&quot;text:docs&quot;}" href="https://docs.github.com/" data-view-component="true" class="Link--secondary Link">Docs</a> </li> <li class="mx-2"> <a data-analytics-event="{&quot;category&quot;:&quot;Footer&quot;,&quot;action&quot;:&quot;go to contact&quot;,&quot;label&quot;:&quot;text:contact&quot;}" href="https://support.github.com?tags=dotcom-footer" data-view-component="true" class="Link--secondary Link">Contact</a> </li> <li class="mx-2" > <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;cookies&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;cookies_link_subfooter_footer&quot;}" > Manage cookies </button> </cookie-consent-link> </li> <li class="mx-2"> <cookie-consent-link> <button type="button" class="Link--secondary underline-on-hover border-0 p-0 color-bg-transparent" data-action="click:cookie-consent-link#showConsentManagement" data-analytics-event="{&quot;location&quot;:&quot;footer&quot;,&quot;action&quot;:&quot;dont_share_info&quot;,&quot;context&quot;:&quot;subfooter&quot;,&quot;tag&quot;:&quot;link&quot;,&quot;label&quot;:&quot;dont_share_info_link_subfooter_footer&quot;}" > Do not share my personal information </button> </cookie-consent-link> </li> </ul> </nav> </div> </footer> <ghcc-consent id="ghcc" class="position-fixed bottom-0 left-0" style="z-index: 999999" data-initial-cookie-consent-allowed="" data-cookie-consent-required="false"></ghcc-consent> <div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-alert"> <path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path> </svg> <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> You can’t perform that action at this time. </div> <template id="site-details-dialog"> <details class="details-reset details-overlay details-overlay-dark lh-default color-fg-default hx_rsm" open> <summary role="button" aria-label="Close dialog"></summary> <details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast hx_rsm-dialog hx_rsm-modal"> <button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-x"> <path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"></path> </svg> </button> <div class="octocat-spinner my-6 js-details-dialog-spinner"></div> </details-dialog> </details> </template> <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;"> <div class="Popover-message Popover-message--bottom-left Popover-message--large Box color-shadow-large" style="width:360px;"> </div> </div> <template id="snippet-clipboard-copy-button"> <div class="zeroclipboard-container position-absolute right-0 top-0"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon m-2"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> <template id="snippet-clipboard-copy-button-unpositioned"> <div class="zeroclipboard-container"> <clipboard-copy aria-label="Copy" class="ClipboardButton btn btn-invisible js-clipboard-copy m-2 p-0 d-flex flex-justify-center flex-items-center" data-copy-feedback="Copied!" data-tooltip-direction="w"> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-copy js-clipboard-copy-icon"> <path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"></path><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"></path> </svg> <svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none"> <path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"></path> </svg> </clipboard-copy> </div> </template> </div> <div id="js-global-screen-reader-notice" class="sr-only mt-n1" aria-live="polite" aria-atomic="true" ></div> <div id="js-global-screen-reader-notice-assertive" class="sr-only mt-n1" aria-live="assertive" aria-atomic="true"></div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10