diff --git a/resources/scenarios/reconnaissance.py b/resources/scenarios/reconnaissance.py index b7df8e648..907525f77 100755 --- a/resources/scenarios/reconnaissance.py +++ b/resources/scenarios/reconnaissance.py @@ -52,7 +52,10 @@ def run_test(self): dstaddr, dstport = victim["addr"].split(":") else: dstaddr = socket.gethostbyname(victim["addr"]) - dstport = 18444 + if self.chain == "regtest": + dstport = 18444 + if self.chain == "signet": + dstport = 38333 # Now we will use a python-based Bitcoin p2p node to send very specific, # unusual or non-standard messages to a "victim" node.