Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7959949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:39:08+00:00 2026-06-04T04:39:08+00:00

Hello Guys! Using firefox plugins I can capture headers. I want to do it

  • 0

Hello Guys! Using firefox plugins I can capture headers. I want to do it in python: I need to change the browser proxy settings to localhost:8080 (or any port), then every request made by browser should pass through python script which is actually running on my machine. This script should be able capture headers, capture links in web page and so on. I know that web application scanners do so, but how can I do it in python. Can you suggest any start place, reading? I just want to learn about it and implement one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:39:08+00:00Added an answer on June 4, 2026 at 4:39 am

    Have a look at python-proxy. Googling for “python proxy” also yields tons of results.

    If you want to write one from scratch it’s also not too hard. You can use BaseHTTPServer to listen for new connections, make it multithreaded via SocketServer.ThreadingMixIn and then implement do_GET and do_CONNECT (possibly also do_POST and do_HEAD). In those methods you need to extract the URL from self.path, send a HTTP request to that URL (preferably using the requests package, it’s much more comfortable than urllib) and send the response back to the client.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello guys I'm stucked in a point and I need your help. I want
Hello Guys! I want to access some web page through python script. The url
Hello guys. I think it isn't possible just using PHP, but just to be
hello guys i need to sort some elements of integer in an integer array
Hello guys Im using advance notification manager this is the code Notification note =
Hello guys I am working on a prolog game and I need to write
Hello guys I have a confusing question! If I'm using WCF to create a
Hello Guys I am working on WPF app and I want to Unlike the
Hello guys i am trying to create a folder using c# mvc3. I have
Hello guys i have a problem streaming PDF files with php, i'm using this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.