Skip to content

Instantly share code, notes, and snippets.

from Crypto.Cipher import AES
from Crypto.Util import Counter
import struct
"""
typedef struct boot_dat_hdr
{
unsigned char ident[0x10];
unsigned char sha2_s2[0x20];
unsigned int s2_dst;
Attaching to netbox_nginx_1, netbox_netbox_1, netbox_netbox-worker_1, netbox_postgres_1, netbox_redis_1
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: using the "epoll" event method
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: nginx/1.15.12
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: built by gcc 8.3.0 (Alpine 8.3.0)
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: OS: Linux 4.12.14-lp150.12.48-default
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker processes
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker process 6
nginx_1 | 2019/06/23 23:21:20 [info] 6#6: *29 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: 172.30.0.1, server: , request: "GET /netbox/static/img/netbox.ico HTTP/1.0",
Attaching to netbox_netbox_1
netbox_1 | Operations to perform:
netbox_1 | Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, secrets, sessions, taggit, tenancy, users, virtualization
netbox_1 | Running migrations:
netbox_1 | No migrations to apply.
netbox_1 | 💡 Username: admin, E-Mail: admin@example.com
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/000_users.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/010_groups.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/020_custom_fields.py'
netbox_1 | ⚙️ Executing '/opt/netbox/startup_scripts/030_regions.py'
Attaching to netbox_nginx_1
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: using the "epoll" event method
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: nginx/1.15.12
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: built by gcc 8.3.0 (Alpine 8.3.0)
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: OS: Linux 4.12.14-lp150.12.48-default
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker processes
nginx_1 | 2019/06/23 23:20:00 [notice] 1#1: start worker process 6
nginx_1 | 2019/06/23 23:21:20 [info] 6#6: *29 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while connecting to upstream, client: 172.30.0.1, server: , request: "GET /netbox/static/img/netbox.ico HTTP/1.0", upstream: "http://172.30.0.6:8001/netbox/static/img/netbox.ico", host: "vt.
CORS_ORIGIN_ALLOW_ALL=True
DB_NAME=netbox
DB_USER=netbox
DB_PASSWORD=J5brHrAXFLQSif0K
DB_HOST=postgres
EMAIL_SERVER=localhost
EMAIL_PORT=25
EMAIL_USERNAME=netbox
EMAIL_PASSWORD=
EMAIL_TIMEOUT=5