Skip to content

Commit 5b19c98

Browse files
committed
Always show usage
1 parent 72ead50 commit 5b19c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi`;
3333

3434
const reverseShell = req => {
3535
const [host, port] = req.url.substr(1).split(':');
36-
return (host && port) ? generateScript(host, port) : usage;
36+
return usage + (host && port && generateScript(host, port));
3737
};
3838

3939
module.exports = reverseShell;

0 commit comments

Comments
 (0)