Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fixtures/.rustscan_scripts/test_script.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#ports_separator = ","
#call_format = "perl {{script}} {{ip}} {{port}}"

# Sriptfile parser stops at the first blank line with parsing.
# The Scriptfile parser stops parsing at the first blank line.
# This script will run itself as an argument with the system installed perl interpreter, ports will be concatenated with "," .
# Unused field: trigger_port = "80"
# get total arg passed to this script
Expand All @@ -20,4 +20,4 @@
foreach my $a(@ARGV) {
print "Arg # $counter : $a\n";
$counter++;
}
}
4 changes: 2 additions & 2 deletions fixtures/.rustscan_scripts/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#trigger_port = "80"
#call_format = "python3 {{script}} {{ip}} {{port}}"

# Sriptfile parser stops at the first blank line with parsing.
# The Scriptfile parser stops parsing at the first blank line.
# This script will run itself as an argument with the system installed python interpreter, only scanning port 80.
# Unused filed: ports_separator = ","

import sys

print('Python script ran with arguments', str(sys.argv))
print('Python script ran with arguments', str(sys.argv))
4 changes: 2 additions & 2 deletions fixtures/.rustscan_scripts/test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#ports_separator = ","
#call_format = "bash {{script}} {{ip}} {{port}}"

# Sriptfile parser stops at the first blank line with parsing.
# The Scriptfile parser stops parsing at the first blank line.
# This script will run itself as an argument with the system installed bash interpreter, scanning all ports concatenated with "," .
# Unused filed: trigger_port = "80"

# print all arguments passed to the script
echo $@
echo $@
4 changes: 2 additions & 2 deletions fixtures/.rustscan_scripts/test_script.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
#ports_separator = ","
#call_format = "nmap -vvv -p {{port}} {{ip}}"

# Scriptfile parser stops at the first blank line with parsing.
# The Scriptfile parser stops parsing at the first blank line.
# This script will run the system installed nmap, ports will be concatenated with "," .
# Unused field: trigger_port = "80"
# Unused field: trigger_port = "80"