Skip to content

Commit 578a1a9

Browse files
try fixing codeql action
1 parent fbf6db6 commit 578a1a9

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v3
4242

43+
- uses: actions/setup-java@v1
44+
with:
45+
java-version: 17
46+
4347
# Initializes the CodeQL tools for scanning.
4448
- name: Initialize CodeQL
4549
uses: github/codeql-action/init@v2

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
# java-nmap-xml-parser
2-
A Java parser that converts nmap xml output to a POJO without any additional dependencies
2+
A Java parser that converts nmap xml output to a POJO without any additional dependencies.
3+
4+
-- For whatever reason you might want to work with Java on your nmap results o.0
5+
6+
7+
### Usage
8+
9+
```java
10+
// run 'nmap -oX' to get the result in XML format.
11+
var nmapRun = XmlParser.parse(yourNmapXmlOutputAsString);
12+
13+
```
14+
15+
### Requirements
16+
This library requires Java 17 as a minimum version.
17+

0 commit comments

Comments
 (0)