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

Showing IP address of client when page is opened and when file received #6

Open
0xPrateek opened this issue Jul 8, 2019 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@0xPrateek
Copy link
Owner

Objective -
Showing the IP address of the Client who opened the page and showing IP of the client who uploaded the file after upload received.

Prototype message want:-

  • when opened.
    Someone at xxx.xx.xxx.xxx has opened your page.
  • when received.
    File received from xxx.xx.xxx.xxx .
@0xPrateek 0xPrateek changed the title Showing IP address of client when page is opened Showing IP address of client when page is opened and when file received Jul 8, 2019
@0xPrateek 0xPrateek added enhancement New feature or request help wanted Extra attention is needed labels Jul 8, 2019
@0xPrateek 0xPrateek removed the help wanted Extra attention is needed label Dec 2, 2019
@SantamRC
Copy link

I would like to work on this issue

@0xPrateek
Copy link
Owner Author

Okay..! I am assigning you this issue. Make sure you update your progress by commenting.

@Pirate2606
Copy link

sir may i work on this issue?

@0xPrateek
Copy link
Owner Author

Okay. Can you please describe your approach?

@Pirate2606
Copy link

i will extract the IP of the client using the request.environ argument inside the "index" function and then will print the IP on the console which i can extract using the local_process.stdout argument inside the "local" function.

@0xPrateek
Copy link
Owner Author

Okay, I am assigning you the issue.

@Pirate2606
Copy link

I tried the above mentioned method but it didn't quite work so i have done it the other way.

  1. Extract IP using request.environ argument inside the local.py -> index() function.
  2. saving that IP in a file.
  3. extracting IP from the file inside dash.py -> local() function
  4. deleting the file after the program terminates.

hope that's fine

@Pirate2606
Copy link

i have completed the code?
should i commit now?

@0xPrateek
Copy link
Owner Author

Yes.

@Pirate2606
Copy link

i have committed the code

@0xPrateek
Copy link
Owner Author

There is an issue with the port selection method in our implementation causing Error due to usable port error. I am working on it and soon i will push that commit and then ill merge your commit.

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

No branches or pull requests

3 participants