Skip to content

Commit 34d4ebf

Browse files
committed
refactor(host_scanner): change default port from 443 to 80 in get_input_direct function
1 parent ed312c8 commit 34d4ebf

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

bugscanx/modules/scanners/host_scanner.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import os
2-
31
from bugscanx.utils.common import get_input, get_confirm, is_cidr
42
from bugscanx.utils.cidr import read_cidrs_from_file
53

@@ -41,7 +39,7 @@ def get_input_direct(no302=False):
4139
if filename is None and cidr is None:
4240
return None, None, None
4341

44-
port_list = get_input("Enter port(s)", "number", default="443").split(',')
42+
port_list = get_input("Enter port(s)", "number", default="80").split(',')
4543
output, threads = get_common_inputs(filename or cidr)
4644
method_list = get_input(
4745
"Select HTTP method(s)",

bugscanx/modules/scrapers/subfinder/sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from abc import ABC, abstractmethod
21
import datetime
2+
from abc import ABC, abstractmethod
33
from bs4 import BeautifulSoup
44
from .utils import RequestHandler
55

0 commit comments

Comments
 (0)