Skip to main content

All Questions

0 votes
1 answer
189 views

How to identify the user or machine making an HTTP request to an Apache web server on RHEL 7 using server side Python or client side script?

I have a RHEL 7 Linux server using Apache 2.4 as the httpd daemon. One of the pages served by Apache is a simple https form that is generated using Python 3.11. Currently, the form is submitting and ...
Calab's user avatar
  • 363
0 votes
1 answer
954 views

Disable Client Authentication for python HTTPS requests

Currently my client side HTTPS request code looks like this: resp = requests.post(endpoint_predict_v100, files={'image': open(file_path, 'rb')}, verify=client_auth, cert=(...
Daniel Qiao's user avatar
0 votes
1 answer
2k views

Website authentication using smart cards' certificate and public key

So I have a credit card looking like smart card with a chip. This card logins on a website after the card is inserted into the card reader. Now I have to write a program in python which can read the ...
Anudocs's user avatar
  • 686
0 votes
1 answer
713 views

Trying to Download File via https

I am attempting to download a zip file from a website that sits with an https:// link. I have tried the following but can't seem to get any output. Could anyone suggest what I might be doing wrong? ...
cardiokhan's user avatar
0 votes
1 answer
31 views

How to track login and scan REST-interface

I want to write a python script for a website that requires a login to enable some features and I want to find out, what I need to put in the header of my script requests (e.g. authentication token ...
Phil's user avatar
  • 7,618
0 votes
1 answer
114 views

HTTPS authentication in Python 2.7

we are trying to pass the Virustotal API through our proxy which is getting denied. HTTP websites are accessible using the code but HTTPS is not going through. Request any of you to post few sample ...
Shen's user avatar
  • 1
-2 votes
2 answers
142 views

Log in to website then fetching data from the website. Python

I'm trying to log in into SureTrader activeweb (a broker website for stock trading). then I want to fetch real-time stock data from the website. I have tried to do this using urllib, urllib2, ...
ElBeefNugget's user avatar
0 votes
1 answer
30 views

How do I log in to a site that uses HTTPS via Python?

All in the title. I do not know how I would go about logging into an HTTPS site via Python. I am relatively new, however, but I could not find any documentation on how to perform such an action.
Poon Lagoon's user avatar
0 votes
1 answer
2k views

How to perform HTTPS Calls in Pycurl?

I want to login into a website sending POST request using `pycurl' on a HTTPS page. I did the following: import pycurl, urllib curl = pycurl.Curl() curl.setopt(pycurl.COOKIEFILE, "") post = "...
codersofthedark's user avatar
1 vote
4 answers
16k views

HTTP Error 401: Authorization Required while downloading a file from HTTPS website and saving it

Basically i need a program that given a URL, it downloads a file and saves it. I know this should be easy but there are a couple of drawbacks here... First, it is part of a tool I'm building at work, ...
user3063129's user avatar
1 vote
1 answer
976 views

log in to webpage with python to scrape data

I am trying to build a webscraper to extract my stats data from MWO Mercs. To do so it is necessary to login to the page and then go through the 6 different stats pages to get the data (this will go ...
2705114-john's user avatar
0 votes
1 answer
1k views

How to retrieve data from a iframe on a HTTPS secured site with a login

I have been trying to make a script, that will enable me to grab my grades from our online internal webpage. The page i want to retrieve data from is https://sb.stads.ku.dk/SB_PSTA/sb/resultater/...
Jonas Lomholdt's user avatar
0 votes
2 answers
1k views

Scrapy - using scrapy is it possible to login to an https website

I am trying to make a web crawler that will login to an https website using my credentials and then crawl certain parts of the site. I am using the Scrapty in python but i am not 100% sure if it is ...
Gio's user avatar
  • 359
1 vote
1 answer
137 views

Python Https Request

I am trying to login on a website, but am having trouble do so. I have read various solutions, but where I am struggling is how do you know the login data form? For example, in this solution: def ...
dannykim's user avatar
  • 166
0 votes
0 answers
374 views

How to login a https server using python

I want to capture some webpage, but that is https based and require user and password authentication. I have user and password, but have no idea how to use that in python script. Coudl anybody share ...
ltgao's user avatar
  • 1

15 30 50 per page