Skip to content

Instantly share code, notes, and snippets.

View drozdziak1's full-sized avatar

Stanisław Drozd drozdziak1

View GitHub Profile
#[macro_use]
extern crate log;
#[macro_use]
extern crate nom;
extern crate env_logger;
use nom::double_s;
use std::env;
lxc.idmap = u 0 100000 65536
lxc.idmap = g 0 100000 65536
root:100000:65536
drozdziak1:100000:65536
lxc-start: my_container: cgroups/cgfs.c: lxc_cgroupfs_create: 909 Could not set clone_children to 1 for cpuset hierarchy in parent cgroup.
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Read-only file system - Failed to delete /sys/fs/cgroup/cpuset/
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Permission denied - Failed to delete /sys/fs/cgroup/memory/user.slice/user-1000.slice/session-c3.scope
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Permission denied - Failed to delete /sys/fs/cgroup/devices/user.slice
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Read-only file system - Failed to delete /sys/fs/cgroup/net_cls,net_prio/
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Read-only file system - Failed to delete /sys/fs/cgroup/hugetlb/
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Read-only file system - Failed to delete /sys/fs/cgroup/perf_event/
lxc-start: my_container: cgroups/cgfs.c: cgroup_rmdir: 209 Read-only file system - Fa
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import turtle
STEP = 5
# This file renders a simple Heighway dragon. Liense: 3-clause BSD
#
# Copyright (C) 2017-2018 Justin Kilpatrick, Stanislaw Drozd, Openwrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=althea-rust-binaries
#!/usr/bin/env bash
IN_IFACE=$1
OUT_IFACE=$2
echo "Setting up $1 -> $2"
iptables -t nat -A POSTROUTING -o $OUT_IFACE -j MASQUERADE
iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i $IN_IFACE -o $OUT_IFACE -j ACCEPT
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#include <unistd.h>
#include <cstring>
#include <iostream>
--- /home/drozdziak1/.config/radare2/projects/ls1/rc 2017-05-29 16:11:03.711859383 +0200
+++ /home/drozdziak1/.config/radare2/projects/ls2/rc 2017-05-29 16:11:11.738673372 +0200
@@ -745,36 +745,6 @@
f sym.imp.free 16 0x00402260
f sym.imp.malloc 16 0x00402650
f sym.imp.localtime_r 16 0x004022a0
-f map._usr_bin_ls._r_x 126976 0x00400000
-f map._usr_bin_ls._rw_ 8192 0x0061e000
-f map.unk0._rw_ 4096 0x00620000
-f map._usr_lib_ld_2.25.so._r_x 143360 0x7f2c96f61000
#!/usr/bin/env perl
use strict;
use Authen::OATH;
use Term::ReadKey;
use Clipboard;
my $pw; # password
my $secret_plain;
my $oath;