16 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
42
views
PySocks .listen()
I've come across the PySocks library as a tool aimed more at proxies in comparison to the regular Python Sockets module. I was using that but needed to find something else.
Anyways, with PySocks I saw ...
1
vote
0
answers
73
views
Connection timeout using the sock_connect method of the asyncio library
When I use the connect method of the socks library directly, the connection is successful, but when I replace it with the sock_connect method of the asynic library, the connection times out.
import ...
1
vote
0
answers
1k
views
How to Connect to PostgreSQL Over a SOCKS5 Proxy Without Affecting Global Socket Settings in Python?
I'm trying to establish a connection to a PostgreSQL database over a SOCKS5 proxy in Python using the PySocks library. Here's the approach I'm currently using:
import socks
import socket
# Configure ...
0
votes
1
answer
914
views
aiohttp with connector. Session is closed & Unclosed connector excepions
My program send requests to the site several times via aiohttp. I also need to use a proxy, so I use a connector from the aiohttp-socks library. But after implementing the functionality, I encountered ...
0
votes
1
answer
1k
views
requests / aiohttp with SOCKS5. 0x05: Connection refused [closed]
I have two versions of the program:
Synchronous, using requests library;
Asynchronous, using aiohttp library.
It is necessary to make requests to a site using SOCKS5 proxy. After installing the ...
0
votes
1
answer
348
views
Python connection to IRC server with proxy
I'm trying to connect to IRC server with socks proxy for testing purposes.
Socks proxy is alive at the moment of writing this post. I've checked it with Proxy checker and even connected to the IRC ...
0
votes
1
answer
322
views
Python port forwarding with dynamic SOCKs
I has been trying to create a port forwarding session including a dynamic socks with paramiko and pysocks, I already do it with plink using this:
plink -ssh -D 10100 -L 25000:PrivateServerIP:1494 user@...
2
votes
0
answers
2k
views
The HTTP proxy server may not be supported by PySocks (must be a CONNECT tunnel proxy)
The main idea is to send email through the proxy server using python smtplib.
I had my own HTTP proxy server.
There are no brief talks about this in any community
What I'm tried is:
import socks
...
3
votes
0
answers
654
views
pysocks library not supporting proxy ipv6
pysocks library doesnt support proxy ipv6 is there any way that solve this or any other libraries ?
Im using it with telethon to interact with telegram API
Also I tried another library called ...
0
votes
1
answer
1k
views
How to connect to HTTPS socket server via SOCKS4 proxy
I am trying to connect to my HTTPS server via SOCKS4 proxy, but it seems like it is not working.
Here is my code:
headers = "GET / HTTP/1.1\r\nHost: domain.com\r\n\r\n"
import socks
import ...
0
votes
0
answers
506
views
Error 403 forbidden with PySocks and imaplib/smtplib
I have a question
Has anyone ever tried using imap/smtp with proxies
I'm trying pysocks with imaplib/smtplib but datacenter proxies (HTTP proxies from Proxiware) aren't working with it, I get an error ...
0
votes
1
answer
581
views
How install python-pysocks in CentOS/oracle linux?
When I try to update using the command sudo yum update I get the error:
Error: Package: python2-urllib3-1.22-2.el7.noarch (ol7_developer)
Requires: python-pysocks
so when I try to install ...
1
vote
0
answers
819
views
Sending UDP data through socks5 proxy in python
I can't afford to send UDP packets through SOCKS5 proxy. I'm using PySocks. Here is my code :
import socks
proxyIP = "whatever.proxy"
proxyPort = 8080
s = socks.socksocket(socket.AF_INET, socket....
0
votes
1
answer
2k
views
telegram bot proxy in python
I am using Telebot to make a python bot for Telegram
bot = telebot.TeleBot('TokenHere')
apihelper.proxy = {'https': 'socks5://user:[email protected]:1080'}
@bot.message_handler(commands=['start', '...
14
votes
2
answers
44k
views
No module named 'socks'
import requests, socket, socks
ModuleNotFoundError: No module named 'socks'
I have tried pip install socks, and followed instructions of other stackoverflow posts but none of them worked. I'm working ...