Comments (1)
I tried client.plugins.load('sqlmap')
to load the sqlmap
plugin; however, it fails with an error like this:
In [5]: client.plugins.load('sqlmap')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-1b1c8fdcedfd> in <module>()
----> 1 client.plugins.load('sqlmap')
/home/kaliuser/.virtualenvs/pentestsrv/local/lib/python2.7/site-packages/metasploit/msfrpc.pyc in load(self, plugin)
1189 - plugin : a name of a plugin to load.
1190 """
-> 1191 self.rpc.call(MsfRpcMethod, MsfRpcMethod.PluginLoad, plugin)
1192
1193 def unload(self, plugin):
/home/kaliuser/.virtualenvs/pentestsrv/local/lib/python2.7/site-packages/metasploit/msfrpc.pyc in call(self, method, *args)
229 elif self.authenticated:
230 l.insert(1, self.sessionid)
--> 231 self.client.request('POST', self.uri, packb(l), self._headers)
232 r = self.client.getresponse()
233 if r.status == 200:
/home/kaliuser/.virtualenvs/pentestsrv/local/lib/python2.7/site-packages/msgpack/__init__.pyc in packb(o, **kwargs)
45 See :class:`Packer` for options.
46 """
---> 47 return Packer(**kwargs).pack(o)
48
49 # alias for compatibility to simplejson/marshal/pickle.
msgpack/_packer.pyx in msgpack._packer.Packer.pack (msgpack/_packer.cpp:3661)()
msgpack/_packer.pyx in msgpack._packer.Packer.pack (msgpack/_packer.cpp:3503)()
msgpack/_packer.pyx in msgpack._packer.Packer._pack (msgpack/_packer.cpp:3230)()
msgpack/_packer.pyx in msgpack._packer.Packer._pack (msgpack/_packer.cpp:3382)()
TypeError: can't serialize <class 'metasploit.msfrpc.MsfRpcMethod'>
Not sure how stable this feature is.
from pymetasploit.
Related Issues (20)
- How to run exploit with option -j ?
- cannot use payload HOT 1
- Output of a port scanner HOT 2
- AttributeError: can't set attribute HOT 1
- Documentations
- How to search exploits based on CVE HOT 3
- Session Disconnected: NameError undefined local variable or method `data' HOT 4
- problem CannotSendRequest HOT 2
- after installation the python exploits in the console stop working HOT 2
- Tomcat Uplaod AttributeError: can't set attribute
- AttributeError: can't set attribute HOT 1
- [Best-Practice][Low] Generate Github tags
- Who has the most fixed up fork of this project? I'd like to take this over HOT 1
- can't get db.hosts response content. HOT 1
- socket.error in MsfRpcClient HOT 1
- I fixed this library and added a bunch of features: pymetasploit3 HOT 1
- can get a shell from session HOT 1
- import MsfRpcClient Prompt for grammatical errors
- Cannot exit normally after creating MsfRpcConsole HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymetasploit.