Coder Social home page Coder Social logo

pyroxy's Issues

no ddos

安装pyroxy失败,原因git报错,如何让下载git?

Invalid syntax with python 3.9

$ python --version
Python 3.9.5
$ python -c "import PyRoxy"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ubuntu/.virtualenvs/botnet-dds/lib/python3.9/site-packages/PyRoxy/__init__.py", line 13, in <module>
    from PyRoxy import GeoIP, Tools
  File "/home/ubuntu/.virtualenvs/botnet-dds/lib/python3.9/site-packages/PyRoxy/Tools/__init__.py", line 18
    rand_char: Callable[[int], chr] = lambda length=16: chr(Random.rand_int(0, 1000)) for _ in range(length)
                                                                                      ^
SyntaxError: invalid syntax

To be honest, it's difficult to understand what code is meant to be in that line. There is no usage of rand_char() across all sources.

Incorrect parsing results for proxies with username and password

Hi Matrix Team,

I am a user of MHDDoS and I would like to use my private proxies requiring basic authentication. It seems that both ProxyUtiles.parseAllIPPort and ProxyUtiles.parseNoraml are returning incorrect results.

Example:
Input

http://1.2.3.4:5678@username:password

Syntax from MatrixTM/MHDDoS#243 (comment)
Output
parseAllIPPort returns None.
parseNoraml returns

{Proxy} http://1.2.3.4:80:5678@username:password
 country = {str} 'AU'
 host = {str} '1.2.3.4'
 password = {str} 'password'
 port = {int} 80
 type = {ProxyType} ProxyType.HTTP
 user = {str} '5678@username'

I am not an expert of regex. Could you kindly have a look at this issue please? Thanks.

SyntaxError

Traceback (most recent call last):
File "runner.py", line 12, in
from MHDDoS.start import ProxyManager, logger
File "/home/azureuser/mhddos_proxy/MHDDoS/start.py", line 27, in
from PyRoxy import Proxy, ProxyChecker, ProxyType, ProxyUtiles
File "/usr/local/lib/python3.8/dist-packages/PyRoxy/init.py", line 13, in
from PyRoxy import GeoIP, Tools
File "/usr/local/lib/python3.8/dist-packages/PyRoxy/Tools/init.py", line 18
rand_char: Callable[[int], chr] = lambda length=16: chr(Random.rand_int(0, 1000)) for _ in range(length)
^
SyntaxError: invalid syntax

Because of last commit in PyProxy: ffecf3f

SyntaxError 3d time with MHDDoS

image

root@ubuntu-switzeland:~/mhddos_proxy/MHDDoS# python3 start.py get https://sberbank.ru 5 1000 socks5.txt 100 100
Traceback (most recent call last):
File "start.py", line 27, in
from PyRoxy import Proxy, ProxyChecker, ProxyType, ProxyUtiles
File "/usr/local/lib/python3.8/dist-packages/PyRoxy/init.py", line 13, in
from PyRoxy import GeoIP, Tools
File "/usr/local/lib/python3.8/dist-packages/PyRoxy/Tools/init.py", line 18
rand_char: Callable[[int], chr] = lambda length=16: chr(Random.rand_int(0, 1000)) for _ in range(length)
^
SyntaxError: invalid syntax

This error not because of PyProxy directly, but because of not rebuilted MHDDoS

SyntaxError: unmatched ')'

  File "/usr/local/lib/python3.10/site-packages/PyRoxy/Tools/__init__.py", line 18
    rand_char: Callable[[int], str] = lambda length=16: chr(Random.rand_int(0, 1000)) for _ in range(length))
                                                                                                            ^
SyntaxError: unmatched ')'

How do I install this?

I reported an error when using it

setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

issue

hey sorry but can you put instructions on how to set pyroxy up I have no clue and I have been stuck on this bit for some time

Invalid argument on ProxySocket init

When create ProxySocket instance "OSError: [Errno 22] Invalid argument" exception raised but suppressed.
Some proxies are ignored because of check() failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.