Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portscanner Rework #886

Merged
merged 16 commits into from
Dec 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove defunct test
  • Loading branch information
TheTechromancer committed Dec 17, 2023
commit 61b4e9a2897103787ea4e10b98f4f21a06941d6f
9 changes: 0 additions & 9 deletions bbot/test/test_step_1/test_modules_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ async def test_modules_basic(scan, helpers, events, bbot_config, bbot_scanner, h
localhost2.add_tag("target")
assert base_module._event_precheck(localhost2)[0] == True
base_module.target_only = False
# special case for IPs and ranges
base_module.watched_events = ["IP_ADDRESS", "IP_RANGE"]
ip_range = scan.make_event("127.0.0.0/24", dummy=True)
localhost4 = scan.make_event("127.0.0.1", source=ip_range)
localhost4.scope_distance = 0
localhost4.module = "plumbus"
assert base_module._event_precheck(localhost4)[0] == True
localhost4.module = "speculate"
assert base_module._event_precheck(localhost4)[0] == False

# in scope only
base_module.in_scope_only = True
Expand Down
Loading