Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 1a22ba2

Browse files
committed
Introduce newline at the end of the file
1 parent e551e81 commit 1a22ba2

File tree

9 files changed

+19
-10
lines changed

9 files changed

+19
-10
lines changed

scanners/ncrack/.helmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
parser/
44
scanner/
5-
examples/
5+
examples/
6+

scanners/ncrack/examples/dummy-ssh/scan.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ spec:
88
- -v
99
- --user=root,admin
1010
- --pass=THEPASSWORDYOUCREATED,12345
11-
- ssh://dummy-ssh
11+
- ssh://dummy-ssh
12+
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules/
1+
node_modules/
2+

scanners/ncrack/parser/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules/
1+
node_modules/
2+

scanners/ncrack/parser/__testFiles__/ncrack_no_results.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
<port protocol="tcp" portid="3210" name="ftp"></port>
1010
</service>
1111
</ncrackrun>
12+

scanners/ncrack/parser/__testFiles__/ncrack_two_services_with_results.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
<port protocol="tcp" portid="22" name="ssh"></port>
1515
<credentials username="root" password="2a4707625af87d8d4302ad226d"></credentials>
1616
</service>
17-
</ncrackrun>
17+
</ncrackrun>
18+

scanners/ncrack/parser/parser.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ it('should return findings when ncrack found two credentials scanning two servic
9797
},
9898
]
9999
`);
100-
});
100+
});
101+

scanners/ncrack/scanner/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM ubuntu:20.04
22

3-
RUN apt-get update \
3+
RUN apt-get update \
44
&& apt-get install ncrack=0.7+debian-1build1 -y \
5-
&& rm -rf /var/lib/apt/lists/*
5+
&& rm -rf /var/lib/apt/lists/*
6+
7+
CMD [ "ncrack" ]
68

7-
CMD [ "ncrack" ]

tests/integration/scanner/ncrack.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,5 @@ test(
2323
);
2424
},
2525
3 * 60 * 1000
26-
);
26+
);
27+

0 commit comments

Comments
 (0)