Skip to content

Commit

Permalink
some utils 8 jajaja?
Browse files Browse the repository at this point in the history
  • Loading branch information
grisun0 committed Dec 15, 2024
1 parent 226aa62 commit 9c84572
Show file tree
Hide file tree
Showing 37 changed files with 3,998 additions and 415 deletions.
6 changes: 3 additions & 3 deletions DEPLOY.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ CURRENT_VERSION=$(git -C . describe --tags --abbrev=0 2>/dev/null || echo "relse
# Revisa si el parámetro --no-test está presente
if [[ "$1" != "--no-test" ]]; then
# Ejecuta el comando si --no-test no está presente
python3 testmeneitor.py lazyown
python3 testmeneitor.py lazyown.py
fi

# Ejecuta el comando para eliminar archivos que comiencen con d2
rm d2*

# Actualiza la documentación
python3 readmeneitor.py lazyown
python3 readmeneitor.py lazyown.py
python3 readmeneitor.py utils.py

#Actualiza el README.md con los ultimos cambios
Expand Down Expand Up @@ -296,7 +296,7 @@ awk -F: '{
git -C . add $CHANGELOG_FILE

# Convertir el changelog a HTML
pandoc $CHANGELOG_FILE -f markdown -t html -s -o CHANGELOG.html --metadata title="CHANGELOG LazyOwn Framework Pentesting t00lz"
pandoc $CHANGELOG_FILE -f markdown -t html -s -o CHANGELOG.html --metadata title="CHANGELOG LazyOwn Framework RedTeaming t00lz"
mv CHANGELOG.html docs/CHANGELOG.html
git -C . add docs/CHANGELOG.html

Expand Down
3 changes: 3 additions & 0 deletions external/install_external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ download() {
"git clone https://github.com/Hackplayers/PsCabesha-tools.git .exploit/PsCabeshaps1"
"git clone https://github.com/clymb3r/PowerShell.git .exploit/PowerShell_privesc"
"git clone https://github.com/grisuno/binary.git .exploit/grisun0_compiled_windows_binaries"
"git clone https://github.com/Leo4j/Amnesiac.git .exploit/Amnesiac"
"git clone https://github.com/JoelGMSec/AutoRDPwn.git .exploit/AutoRDPwn"
"git clone https://github.com/JoelGMSec/Kitsune.git .exploit/Kitsune"
)

echo " [+] Choice the number option to clone:"
Expand Down
15 changes: 10 additions & 5 deletions fast_run_as_r00t.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash

SESSION="lazyown_sessions"
COMMAND='./run --no-banner'
VPN=1
COMMAND='./run -c "c2 no_priv"'
VPN=1
VENV_PATH="env"


check_sudo() {
if [ "$EUID" -ne 0 ]; then
echo "[S] Este script necesita permisos de superusuario. Relanzando con sudo..."
Expand Down Expand Up @@ -31,14 +34,16 @@ done
echo $VPN
check_sudo "$@"
echo $VPN
chown $USER:$USER sessions -R
tmux new-session -d -s $SESSION
tmux send-keys -t $SESSION "sleep 5 && bash -c './run -c nmap'" C-m
tmux split-window -v
tmux send-keys -t $SESSION "sleep 5 && bash -c '$COMMAND'" C-m
tmux send-keys -t $SESSION "sleep 5 && bash -c './run -c ping'" C-m
tmux send-keys -t $SESSION "c2 no_priv" C-m
tmux split-window -v
tmux send-keys -t $SESSION "sleep 60 && bash -c './run -c pyautomate'" C-m
tmux send-keys -t $SESSION "sleep 99 && bash -c './run -c pyautomate'" C-m
tmux split-window -h
tmux send-keys -t $SESSION "sleep 5 && bash -c './run -c \"c2 no_priv\"'" C-m
tmux send-keys -t $SESSION "sleep 0.05 && bash -c 'source \"$VENV_PATH/bin/activate\" && python3 -W ignore lazyc2.py 4444 LazyOwn LazyOwn'" C-m
tmux select-pane -t 0
tmux split-window -h
tmux send-keys -t $SESSION "bash -c './run -c \"vpn $VPN\"'" C-m
Expand Down
Loading

0 comments on commit 9c84572

Please sign in to comment.