Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezade authored and alirezade committed Dec 27, 2023
1 parent 0f50665 commit 32d3240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AttackerRemote.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ def find_device_address(device_name):
if device_name.lower() == 'plc1':
return '192.168.0.11'
elif device_name.lower() == 'plc2':
target = '192.168.0.12'
return '192.168.0.12'

elif device_name.lower() == 'hmi1':
target = '192.168.0.21'
return '192.168.0.21'

elif device_name.lower() == 'hmi2':
target = '192.168.0.22'
return '192.168.0.22'
else:
raise Exception(f'target:({device_name}) is not recognized!')

Expand Down

0 comments on commit 32d3240

Please sign in to comment.