Minor fixes

This commit is contained in:
lgandx 2016-09-09 02:54:30 -03:00
parent 85d7974513
commit b34fee1d8c
15 changed files with 48 additions and 111 deletions

60
.gitignore vendored
View file

@ -1,63 +1,3 @@
/plugins/old_plugins/
backdoored/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
# Translations
*.mo
*.pot
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Responder logs # Responder logs
*.db *.db
*.txt *.txt

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -14,7 +14,6 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import socket import socket
import struct import struct

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -65,4 +65,4 @@ class DNSTCP(BaseRequestHandler):
print color("[*] [DNS-TCP] Poisoned answer sent to: %-15s Requested name: %s" % (self.client_address[0], ResolveName), 2, 1) print color("[*] [DNS-TCP] Poisoned answer sent to: %-15s Requested name: %s" % (self.client_address[0], ResolveName), 2, 1)
except Exception: except Exception:
pass pass

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -14,7 +14,6 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from utils import * from utils import *
from SocketServer import BaseRequestHandler from SocketServer import BaseRequestHandler
from packets import FTPPacket from packets import FTPPacket
@ -54,4 +53,4 @@ class FTP(BaseRequestHandler):
data = self.request.recv(1024) data = self.request.recv(1024)
except Exception: except Exception:
pass pass

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -14,7 +14,6 @@
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from SocketServer import BaseRequestHandler, StreamRequestHandler from SocketServer import BaseRequestHandler, StreamRequestHandler
from base64 import b64decode from base64 import b64decode
import struct import struct

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -46,4 +46,4 @@ class IMAP(BaseRequestHandler):
## self.request.send(str(ditchthisconnection())) ## self.request.send(str(ditchthisconnection()))
## data = self.request.recv(1024) ## data = self.request.recv(1024)
except Exception: except Exception:
pass pass

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -136,4 +136,4 @@ class KerbUDP(BaseRequestHandler):
'user': domain+'\\'+name, 'user': domain+'\\'+name,
'hash': h, 'hash': h,
'fullhash': KerbHash, 'fullhash': KerbHash,
}) })

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -45,4 +45,4 @@ class POP3(BaseRequestHandler):
}) })
self.SendPacketAndRead() self.SendPacketAndRead()
except Exception: except Exception:
pass pass

View file

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# This file is part of Responder # This file is part of Responder, a network take-over set of tools
# Original work by Laurent Gaffie - Trustwave Holdings # created and maintained by Laurent Gaffie.
# # email: laurent.gaffie@gmail.com
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # the Free Software Foundation, either version 3 of the License, or
@ -59,4 +59,4 @@ class ESMTP(BaseRequestHandler):
}) })
except Exception: except Exception:
pass pass