gohar94 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 1 forks source link

If you wont fix Pyrit Serve, REMOVE IT! #361

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Everyone knows by now that Pyrits "Serve" Function is completele crap and 
doesnt work at all. Since apparently nobody wants to fix it, I Suggest that you 
remove the feature entirely.

Original issue reported on code.google.com by frozenpo...@aol.com on 23 Oct 2011 at 10:07

GoogleCodeExporter commented 9 years ago
YES PLEASE FIX IT,  AM FUCKING SICK OF IT NOT WORKING.  AS R309 WOULD BE NICE  

Original comment by cyberjac...@yahoo.co.uk on 2 Jan 2012 at 11:55

GoogleCodeExporter commented 9 years ago
The serve function is working properly, i use it since... 1 years or more!! I 
have a cluster of 6 computer that i use with my main computer and function 
without a single problem! Go buy a brain!

REMOVE THIS THREAD' SIMPLY NOOBS THAT NEEDS ATTENTION!

Original comment by mikael.l...@gmail.com on 6 Jan 2012 at 3:06

GoogleCodeExporter commented 9 years ago
I AGREE REMOVE IT!! IT IS SHIT AND IT DOES NOT WORK!

root@anus:/home/gaynigger# pyrit serve
Pyrit 0.4.1-dev (svn r308) (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
This code is distributed under the GNU General Public License v3+

Serving 0 active clients; 0 PMKs/s; 0.0 TTS Traceback (most recent call last):
  File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 117, in initFromArgv
    func(self, **options)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 881, in serve
    server.addClient(addr)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/network.py", line 140, in addClient
    client = NetworkClient(srv_addr, self.enqueue, known_uuids)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/network.py", line 68, in __init__
    self.srv_uuid, self.uuid = self.server.register(";".join(known_uuids))
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1237, in request
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.6/httplib.py", line 1064, in getreply
    response = self._conn.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
socket.error: [Errno 104] Connection reset by peer

Original comment by Testicul...@gmail.com on 3 Aug 2012 at 12:28

GoogleCodeExporter commented 9 years ago
Fixed it for ya!

Apply this patch with:

patch -p0 < pyrit_paw2bufferfix.patch

inside pyrit_svn branch. In one place cpyrit.py uses PAW2_Buffer constructor 
instead of .pack() method.

Tested it on ubuntu 13.04 and fixes the issue with pyrit serve. The error is on 
the running machine side, not on the serving one.

Original comment by kichadal...@gmail.com on 8 May 2013 at 6:51

Attachments: