br3nt / omp4j Goto Github PK
View Code? Open in Web Editor NEWA java OMP implementation to communicate with OpenVAS
A java OMP implementation to communicate with OpenVAS
Hello sir,
I am trying to use your code, but it is showing errors on parsing...i have used your code as you have mentioned in docs.
ant -f /home/hacktivist/NetBeansProjects/OMP4J -Dnb.internal.action.name=run run
init:
Deleting: /home/hacktivist/NetBeansProjects/OMP4J/build/built-jar.properties
deps-jar:
Updating property file: /home/hacktivist/NetBeansProjects/OMP4J/build/built-jar.properties
Proc.init:
Proc.deps-jar:
Updating property file: /home/hacktivist/NetBeansProjects/OMP4J/build/built-jar.properties
Proc.compile:
Proc.jar:
Compiling 1 source file to /home/hacktivist/NetBeansProjects/OMP4J/build/classes
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
compile:
run:
=== Get ConfigID for Full and Fast =============================
listener: start
command:
omp -u admin -w password -h 10.0.0.2 -p 9390 -iX
<get_configs />
error: Failed to authenticate.
listener: finished
has output? false
has errors? true
exitValue: 1
[Fatal Error] omp-5-0.html:1:1: Premature end of file.
Apr 16, 2017 6:31:43 PM com.omp4j.omp.Client main
SEVERE: null
nu.xom.ParsingException: Premature end of file. at line 1, column 1 in http://www.openvas.org/omp-5-0.html
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at com.omp4j.omp.Client.parseResponse(Client.java:42)
at com.omp4j.omp.Client.getConfigs(Client.java:49)
at com.omp4j.omp.Client.main(Client.java:117)
Caused by: org.xml.sax.SAXParseException; systemId: http://www.openvas.org/omp-5-0.html; lineNumber: 1; columnNumber: 1; Premature end of file.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
... 6 more
Hi, this is a good work. Can I know if this is still maintained or integrated into something else ?
Could you also provide some guidelines as to how to use this..like a README.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.