Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nanobot4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cool Fire
nanobot4
Commits
0582de2d
Commit
0582de2d
authored
Jan 26, 2019
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update urls to use https
parent
084d0f48
Pipeline
#1254
passed with stages
in 6 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
plugins/shells.rb
plugins/shells.rb
+13
-13
No files found.
plugins/shells.rb
View file @
0582de2d
...
...
@@ -58,30 +58,30 @@ class Shells
def
link
(
_nick
,
_user
,
_host
,
from
,
_msg
,
arguments
,
con
)
case
arguments
when
/^main/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells"
]
when
/^faq/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ"
]
when
/^rule/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_rules"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_rules"
]
when
/^shell/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ#How_do_I_request_a_shell.3F"
,
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ#How_do_I_request_a_shell.3F"
,
"The short version is: You need an invite."
]
when
/^invite/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ#How_do_I_get_an_invite.3F"
,
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ#How_do_I_get_an_invite.3F"
,
"The short version is: You need a good reason."
]
when
/^good/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ#What_is_a_good_reason_for_an_invite.3F"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ#What_is_a_good_reason_for_an_invite.3F"
]
when
/^bad/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ#What_are_bad_reasons_for_an_invite.3F"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ#What_are_bad_reasons_for_an_invite.3F"
]
when
/^learning/i
info
=
[
"http://wiki.insomnia247.nl/wiki/Shells_FAQ#Why_isn.27t_learning_a_valid_usage.3F"
]
info
=
[
"http
s
://wiki.insomnia247.nl/wiki/Shells_FAQ#Why_isn.27t_learning_a_valid_usage.3F"
]
when
/^suwww/i
info
=
[
"You can use the 'suwww' command to change to your Apache user."
,
"More info here: http://wiki.insomnia247.nl/wiki/Shells_websites#suwww"
]
"More info here: http
s
://wiki.insomnia247.nl/wiki/Shells_websites#suwww"
]
when
/^heartbeat/i
info
=
[
"http://heartbeat.insomnia247.nl"
]
when
/^git/i
info
=
[
"http://git.insomnia247.nl"
,
info
=
[
"http
s
://git.insomnia247.nl"
,
"No shell account is required to sign up here."
]
when
/^learnix/i
info
=
[
"Learnix shells: http://dams.insomnia247.nl/Public/Learnix.html"
]
...
...
@@ -90,12 +90,12 @@ class Shells
end
printhelp
(
from
,
con
,
info
)
end
# Alias for link
def
info
(
nick
,
user
,
host
,
from
,
msg
,
arguments
,
con
)
link
(
nick
,
user
,
host
,
from
,
msg
,
arguments
,
con
)
end
# Show information about open ports
def
port
(
nick
,
user
,
host
,
from
,
msg
,
arguments
,
con
)
ports
(
nick
,
user
,
host
,
from
,
msg
,
arguments
,
con
)
...
...
@@ -231,7 +231,7 @@ class Shells
# Function to grab statistics from shell hosts.
def
getstat
(
chan
,
stat
)
begin
iline
=
Net
::
HTTP
.
get
(
'www.insomnia247.nl'
,
'/stats.php?get='
+
stat
)
iline
=
Net
::
HTTP
.
get
(
URI
(
"https://www.insomnia247.nl/stats.php?get=
#{
stat
}
"
)
)
rescue
Exception
=>
e
iline
=
"[Host appears to be down! (
#{
e
.
message
}
)]"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment