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

Destination Port should be logged #13

Open
davan77 opened this issue Sep 23, 2022 · 0 comments
Open

Destination Port should be logged #13

davan77 opened this issue Sep 23, 2022 · 0 comments

Comments

@davan77
Copy link

davan77 commented Sep 23, 2022

It turns out that the destination port can be important. I can provide examples of several IPs which produce different JARM hash results depending on the port chosen. I believe the following changes would include logging of that port:

510: file.write('{"host":"' + destination_host + '","ip":"' + ip +'","destination_port":"' + str(destination_port) +'","result":"' + result + '"')

512: file.write(destination_host + "," + ip + "," + str(destination_port) + "," + result)

528: sys.stdout.write('{"host":"' + destination_host + '","ip":"' + ip +'","destination_port":"' + str(destination_port) +'","result":"' + result + '"')

532: print("Port: " + str(destination_port))

536: sys.stdout.write('{"host":"' + destination_host + '","ip":null,"result":"' + result + '"')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant