- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
OverTheWire: bandit 12
$ ssh bandit12@bandit.labs.overthewire.org -p 2220
pass: 7x16WNeHIi5YkIhWsfFIqoognUTyj9Q4
Procedimento limpo recomendado:
teste arquivo data.txt
Na pasta inicial não temos permissão para trabalhar com esse arquivo
então temos que usar a pasta /tmp e criar uma variável de ambiente
para continuar
1️⃣ Trabalhe em /tmp usando uma variável de ambiente (evita permissão e bagunça)
cd ~
rm -rf /tmp/bandit12_$USER # limpe resíduos de outros usuários
mkdir -p /tmp/bandit12_$USER
cp data.txt /tmp/bandit12_$USER/data.hex
cd /tmp/bandit12_$USER
2️⃣ Confirmar que é hexdump em ASCII
file data.hex
# Esperado: ASCII text
3️⃣ Reconstruir o binário real - (ou usar script)
xxd -r data.hex [símbolo MAIOR QUE] stage1.bin
file stage1.bin
Agora deve aparecer algo como:
gzip compressed data
4️⃣ Descompactar em camadas (loop operacional)
Sempre:
- Veja o tipo com file
- Renomeie para a extensão correta
- Extraia
Exemplo real do fluxo típico do Bandit 12:
mv stage1.bin stage1.gz
gunzip stage1.gz
mv stage1 stage2.bin
file stage2.bin
Possíveis tipos que surgem:
Tipo detectado pelo file Comando correto
gzip compressed gunzip arquivo.gz
bzip2 compressed bunzip2 arquivo.bz2
XZ compressed unxz arquivo.xz
POSIX tar archive tar -xf arquivo.tar
Repita até aparecer:
ASCII text
5️⃣ Ler a senha
cat arquivo_final.txt
Видео OverTheWire: bandit 12 канала Bandeirinha
pass: 7x16WNeHIi5YkIhWsfFIqoognUTyj9Q4
Procedimento limpo recomendado:
teste arquivo data.txt
Na pasta inicial não temos permissão para trabalhar com esse arquivo
então temos que usar a pasta /tmp e criar uma variável de ambiente
para continuar
1️⃣ Trabalhe em /tmp usando uma variável de ambiente (evita permissão e bagunça)
cd ~
rm -rf /tmp/bandit12_$USER # limpe resíduos de outros usuários
mkdir -p /tmp/bandit12_$USER
cp data.txt /tmp/bandit12_$USER/data.hex
cd /tmp/bandit12_$USER
2️⃣ Confirmar que é hexdump em ASCII
file data.hex
# Esperado: ASCII text
3️⃣ Reconstruir o binário real - (ou usar script)
xxd -r data.hex [símbolo MAIOR QUE] stage1.bin
file stage1.bin
Agora deve aparecer algo como:
gzip compressed data
4️⃣ Descompactar em camadas (loop operacional)
Sempre:
- Veja o tipo com file
- Renomeie para a extensão correta
- Extraia
Exemplo real do fluxo típico do Bandit 12:
mv stage1.bin stage1.gz
gunzip stage1.gz
mv stage1 stage2.bin
file stage2.bin
Possíveis tipos que surgem:
Tipo detectado pelo file Comando correto
gzip compressed gunzip arquivo.gz
bzip2 compressed bunzip2 arquivo.bz2
XZ compressed unxz arquivo.xz
POSIX tar archive tar -xf arquivo.tar
Repita até aparecer:
ASCII text
5️⃣ Ler a senha
cat arquivo_final.txt
Видео OverTheWire: bandit 12 канала Bandeirinha
Комментарии отсутствуют
Информация о видео
7 февраля 2026 г. 0:00:54
00:28:40
Другие видео канала
