Skip to content

Instantly share code, notes, and snippets.

@ranebull
ranebull / ks.cfg
Last active September 3, 2019 16:44
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use text install
text
# Run the Setup Agent on first boot
firstboot --disable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
@ranebull
ranebull / recommend.md
Created October 19, 2018 04:30
ctf_recommend
  • Developing
  • Basics and methodics
  • CTF
  • Labs
    • PentesterLab - free and ~35$ for students
    • OSCP (certification) - from 800$
  • HackTheBox
@ranebull
ranebull / index.html.j2
Last active October 17, 2018 06:46
Ansible Training
<html>
<head>
<title>Welcome to ansible</title>
</head>
<body>
<h1>nginx configured by Ansible</h1>
<p>If you can see this, Ansible successfully installed nginx.</p>
<p>{{ template_host }}</p>
@ranebull
ranebull / hyper.md
Created May 11, 2018 06:20
HyperTerminal config
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.

module.exports = {
  config: {
    // choose either `'stable'` for receiving highly polished,
    // or `'canary'` for less polished but more frequent updates
 updateChannel: 'stable',
@ranebull
ranebull / audit.md
Last active April 8, 2021 21:07
Work_Tricks (Salt, Linux & OpenStack)
auditctl -l
ausearch -f /etc/passwd
ausearch -m ADD_USER -m DEL_USER -m ADD_GROUP -m USER_CHAUTHTOK -m DEL_GROUP -m CHGRP_ID -m ROLE_ASSIGN -m ROLE_REMOVE -i
@ranebull
ranebull / Practice-2.md
Last active April 8, 2021 20:59
Virtualization: practice 2

Вторая практика

Диструбитивы установлены. Теперь можно заняться и чем-нибудь более интересным.

  • Настроим статический IP-адрес на ваших дистрибутивах (держитесь там!)
  • Установим Web-сервер и сгенерируем для него SSL-сертификат. SSL Cert
  • Обновимся на новое ядро.
# Студент ОС
1 - FreeBSD
2 - Arch Linux
@ranebull
ranebull / conversion.md
Last active April 20, 2016 17:07
Конвертируем виртуальную машину с Win Server 2003 x32 Enterpise

Чтобы у вас была возможность сконвертировать машину, вам нужно её предварительно запустить в VMware Player или VMWare Workstation (чтобы снять lock-in).
Только после этого вы сможете сделать все процедуры, описанные ниже.
Для того чтобы сконвертировать виртуальную машину (ВМ) VMware в виртуальную машину (ВМ) VirtualBox нам понадобиться следующая программа:

VMware vCenter Converter Standalone

Скачать ее можно либо с просторов Интернета либо с официального сайта (предварительно нужно зарегистрироваться). Или скачать отсюда Download.
После установки VMware vCenter Converter Standalone, запускаем его от имени администратора.
Выбираем пункт:

@ranebull
ranebull / Dependency_Git.md
Last active March 2, 2018 07:10
Linux: Tips & Tricks

Git Dependency:

libc6
libcurl3-gnutls
liberror-perl
libexpat1
perl-modules
zlib1g

Build deb-packet with checkinstall:

@ranebull
ranebull / README.md
Last active August 29, 2015 14:14
Code Academy Lessons

Some lessons on Python from Code Academy.