Skip to content

Conversation

pritamp17
Copy link
Contributor

@pritamp17 pritamp17 commented Jan 17, 2021

Description

the script that can sniff HTTP pageg

Fixes #(246)

Have you read the Contributing Guidelines on Pull Requests?

  • Yes
  • No

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines(Clean Code) of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have created a helpful and easy to understand README.md
  • My documentation follows Template for README.md
  • My changes generate no new warnings

@avinashkranjan avinashkranjan linked an issue Jan 17, 2021 that may be closed by this pull request
Copy link
Contributor

@atarax665 atarax665 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please format your code according to PEP8 Guidelines. You can use this.

@@ -0,0 +1,7 @@
# this script is created in python
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you can come up with a better README. Have a look at READMEs of other contributed projects to get some idea.

# from scapy_http import http

def get_url(packet):
return packet[http.HTTPRequest].Host + packet[http.HTTPRequest].Path #for detecting urls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should be above the code, not beside it.

Copy link
Contributor Author

@pritamp17 pritamp17 Jan 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sir, I have made changes, do I have to make any other changes?

@avinashkranjan avinashkranjan merged commit 8f7ed81 into avinashkranjan:master Jan 21, 2021
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

Successfully merging this pull request may close these issues.

script that can sniff data from HTTP pages
3 participants