mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 10:31:38 +01:00
update
This commit is contained in:
parent
9b710935c6
commit
61c64a84e8
@ -1115,7 +1115,7 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
|||||||
(num, header, value) = self.getHeader('x-originating-ip')
|
(num, header, value) = self.getHeader('x-originating-ip')
|
||||||
if num == -1: return []
|
if num == -1: return []
|
||||||
|
|
||||||
result = f'- Connecting Client leaved its IP address!\n'
|
result = f'- Connecting Client leaved its IP address: '
|
||||||
|
|
||||||
if '[' == value[0] and value[-1] == ']':
|
if '[' == value[0] and value[-1] == ']':
|
||||||
value = value[1:-1]
|
value = value[1:-1]
|
||||||
@ -1127,9 +1127,9 @@ Results will be unsound. Make sure you have pasted your headers with correct spa
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
if len(resolved) > 0:
|
if len(resolved) > 0:
|
||||||
result += f'\t- X-Originating-IP: {self.logger.colored(value, "red")} (resolved: {resolved})\n'
|
result += f'{self.logger.colored(value, "red")} (resolved: {resolved})\n'
|
||||||
else:
|
else:
|
||||||
result += f'\t- X-Originating-IP: {self.logger.colored(value, "red")}\n'
|
result += f'{self.logger.colored(value, "red")}\n'
|
||||||
|
|
||||||
if len(result) == 0:
|
if len(result) == 0:
|
||||||
return []
|
return []
|
||||||
|
Loading…
Reference in New Issue
Block a user