Comments (9)
Ok, this is a fun one. What is your unicode locale on your computer? Open a
terminal and type:
echo $LANG
and paste the output here. I suspect that because your locale is something
different, the chars I'm sending over the socket are being encoded in a weird
way causing the software to freak out.
If you want to test this hypothesis, do:
export LC_CTYPE=en_US.UTF-8
export LANG=en_US.UTF-8
java -Dfile.encoding=UTF-8 -jar armitage.jar
Let me know if it works with UTF-8. If it does, I'll either come up with a work
around or document this situation in the FAQ. If it doesn't, back to square one.
Original comment by [email protected]
on 7 Dec 2010 at 12:40
from armitage.
My LC_CTYPE was set, but not the LANG.
Bad news, doesn't work with UTF-8 or en_US.UTF-8 for LANG and LC_CTYPE
chri@ceto:~/Tools/armitage/armitage-read-only
$ export LC_CTYPE=en_US.UTF-8
chri@ceto:~/Tools/armitage/armitage-read-only
$ export LANG=en_US.UTF-8
chri@ceto:~/Tools/armitage/armitage-read-only
$ java -Dfile.encoding=UTF-8 -classpath bin:lib/\*:. armitage.ArmitageMain $*
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
[Fatal Error] :1:1: Content is not allowed in prolog.
Could you point out where in the code you think it's failing? Maybe I can help
look at that code and help a little with the debugging...
I'm a little bit confused you talk about a socket, because the error is caused
by a SAXParseException. Which is from my limited experience triggered by a
malformed XML or DTD. Where is the socket playing a part in this?
Original comment by [email protected]
on 7 Dec 2010 at 7:05
from armitage.
Armitage communicates with MSFRPCD over XMLRPC. I'm using scriptjunkie's code
in src/msf/RpcConnection.java This hides all of the non-stop XML excitement.
If you shoot an email to [email protected], I'll add some debug
code to RpcConnection.java and send you an updated .jar to try. This will help
us narrow down the problem more efficiently.
Original comment by [email protected]
on 7 Dec 2010 at 1:15
from armitage.
I did shoot an email on the 7th of December, but got no reply back...
Don't hesitate to send me that jar with debugcode.
Cheers
Original comment by [email protected]
on 14 Dec 2010 at 7:08
from armitage.
Yeap, thanks for getting that to me. I still owe you a debug jar, I've just
been really busy lately.
Original comment by [email protected]
on 14 Dec 2010 at 9:57
from armitage.
Ok, I've created a jar file with some debug code. It's at:
http://armitage.googlecode.com/svn/trunk/release/armitage-unix/armitage.jar
Execute Armitage with java -jar armitage.jar -d. Do your normal stuff, it'll
create a debug.log file in the current directory. Go ahead and email that to
me.
The debug.log file will contain some info about your system
(System.getProperties().toString() in Java) and a log of the entire
conversation between Armitage and MSFRPCD.
Original comment by [email protected]
on 16 Dec 2010 at 11:46
from armitage.
I am a little bit ashamed/annoyed,
the error was caused by a mistyped parameter in the msfrpcd command.
Sorry for the false-alarm
However, there are other issues now depending on the revision...
I'll first try to debug them a little more and will then create a new Issue.
Original comment by [email protected]
on 17 Dec 2010 at 9:07
from armitage.
What parameter did you mistype? I'll keep this info on hand in case it comes up
again. If someone else reports it, I'll toss it into the FAQ. No need to be
annoyed or ashamed.
Original comment by [email protected]
on 17 Dec 2010 at 1:55
- Changed state: Invalid
from armitage.
Well, I plan to submit a patch (this week-end) to make the login screen GUI
more clear. To distinguish between the MSF parameters and mysql params more
clearly.
Original comment by [email protected]
on 17 Dec 2010 at 2:15
from armitage.
Related Issues (20)
- Metasploit Framework Exception: Invalid Module HOT 1
- ' HOT 1
- Error while unpacking main files HOT 1
- use full date format in the tar-ball name
- Java runtime error in armitage when using escalation HOT 11
- Hosts view not updating HOT 4
- stdapi error HOT 2
- Missing action parameter
- Console prompt garbage after executing clear command HOT 2
- Error loading Armitage HOT 1
- Certain Cortana Scripts fail when launched via java, works fine from inside Armitage
- Metasploit Windows HOT 1
- Metasploit 3.6.0 HOT 2
- Bug HOT 1
- RPC on latest metasploit
- Custom EXE failed HOT 2
- PHP Hack HOT 1
- Invalid Login HOT 1
- how can I start armitage on windows? HOT 3
- incorrectly imported host port data From Netsparker.xml
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 armitage.