Skip to content

Instantly share code, notes, and snippets.

View xxc3nsoredxx's full-sized avatar

xxc3nsoredxx

  • DFW, Texas
View GitHub Profile
@xxc3nsoredxx
xxc3nsoredxx / ff_build_log_20200611.log
Created June 11, 2020 16:53
ff_build_log_20200611.log
This file has been truncated, but you can view the full file.
 * Package: www-client/firefox-77.0.1
 * Repository: gentoo
 * Maintainer: mozilla@gentoo.org
 * USE: abi_x86_64 amd64 elibc_glibc hardened kernel_linux screenshot system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp userland_GNU
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Using python3.8 to build
* python_export() is part of private eclass API.
* Please call python_get*() instead.
* Checking for at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-77.0.1/temp" ...
 [ ok ]
@xxc3nsoredxx
xxc3nsoredxx / ff_environment_20200611
Created June 11, 2020 16:56
ff_environment_20200611
declare -x ABI="amd64"
declare -x ABI_MIPS=""
declare -x ABI_PPC=""
declare -x ABI_RISCV=""
declare -x ABI_S390=""
declare -x ABI_X86="64"
declare -x ADAFLAGS=""
declare -x ADA_TARGET=""
declare -x ALDFLAGS="-Wl,-O1 -Wl,--as-needed"
declare -a ALL_AUTOTOOLS_MACROS=([0]="AC_PROG_LIBTOOL" [1]="AM_PROG_LIBTOOL" [2]="LT_INIT" [3]="LT_CONFIG_LTDL_DIR" [4]="AC_CONFIG_HEADERS" [5]="AC_CONFIG_HEADER" [6]="AM_CONFIG_HEADERS" [7]="AM_CONFIG_HEADER" [8]="AC_CONFIG_SUBDIRS" [9]="AC_CONFIG_AUX_DIR" [10]="AC_CONFIG_MACRO_DIR" [11]="AM_INIT_AUTOMAKE" [12]="AM_GLIB_GNU_GETTEXT" [13]="AM_GNU_GETTEXT_VERSION" [14]="AM_GNU_GETTEXT_REQUIRE_VERSION" [15]="AC_PROG_INTLTOOL" [16]="IT_PROG_INTLTOOL" [17]="GTK_DOC_CHECK" [18]="GNOME_DOC_INIT")
@xxc3nsoredxx
xxc3nsoredxx / ff_emerge_info_20200611
Created June 11, 2020 17:01
ff_emerge_info_20200611
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/hardened, gcc-9.3.0, glibc-2.30-r8, 5.4.38-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-5.4.38-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_N3050_@_1.60GHz-with-gentoo-2.6
KiB Mem: 1927656 total, 1538776 free
KiB Swap: 3145724 total, 3075484 free
Timestamp of repository gentoo: Sat, 06 Jun 2020 15:30:01 +0000
Head commit of repository gentoo: aad422b52bba88b5da99a1894e6103a54d1cdcad
sh bash 5.0_p17
@xxc3nsoredxx
xxc3nsoredxx / ff_emerge_pqv_20200611
Created June 11, 2020 17:04
ff_emerge_pqv_20200611
[ebuild U ] www-client/firefox-77.0.1 [68.9.0] USE="hardened screenshot system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver (-gmp-autoupdate) -hwaccel -jack -lto -pgo -pulseaudio (-selinux) -startup-notification -test -wayland -wifi (-dbus%) (-system-sqlite%*)" CPU_FLAGS_X86="-avx2" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur -uz -vi -xh -zh-CN -zh-TW"
@xxc3nsoredxx
xxc3nsoredxx / dmesg_20200611
Created June 11, 2020 17:38
dmesg_20200611
[ 0.000000] microcode: microcode updated early to revision 0x368, date = 2019-04-23
[ 0.000000] Linux version 5.4.38-gentoo (root@djentwo) (gcc version 9.3.0 (Gentoo Hardened 9.3.0 p2)) #15 SMP Tue Jun 9 00:46:02 CDT 2020
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.4.38-gentoo root=UUID=5d7fed93-9a1d-4d8c-8327-5c56f43fad2e ro dobtrfs rootfstype=btrfs
[ 0.000000] x86/fpu: x87 FPU will use FXSAVE
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000003efff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000003f000-0x000000000003ffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x0000000000040000-0x000000000009dfff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001effffff] usable
%:include <stdint.h>
main (argc, argv) <%
if (argv) <%
main(-32, 0);
static array [] = <%1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30%>;
%> else if (argc < -2) <%
static intptr_t a;
printf("%d\n", *(((int*)&a) + argc));
main(argc+1, 0);
%>
* sun noon (cdt) another meeting.
* start 6th
* 7th on 0900 - 1800 PDT (def con is on las vegas time as of now)
* stations, labs, etc in signup for shifts (posted tomorrow?) (5h shifts or floater)
* 1-2 watching video making sure it's working
* 1-2 in discord answering
* allow at least hundreds
* bot to kick people after time limit is out
* s1: red team 101
* s2: web app hacking (websploit)
; linux x86 assembly example of a standard calling convention
; tweak the linker flag if not on intel cpu
; assemble: nasm -felf32 cc.asm
; link: ld -m elf_i386 cc.o -o cc
; run: ./cc
; exit code: echo $?
; exposes the startpoint of the program to the linker
global _start
; code sits in the text section
@xxc3nsoredxx
xxc3nsoredxx / linux-5.4.66-gentoo_fbcon_softscroll.patch
Created November 28, 2020 06:54
linux-5.4.66-gentoo_fbcon_softscroll.patch
diff --git a/drivers/video/fbdev/core/bitblit.c b/drivers/video/fbdev/core/bitblit.c
index 436365efa..35ebeeccd 100644
--- a/drivers/video/fbdev/core/bitblit.c
+++ b/drivers/video/fbdev/core/bitblit.c
@@ -234,7 +234,7 @@ static void bit_clear_margins(struct vc_data *vc, struct fb_info *info,
}
static void bit_cursor(struct vc_data *vc, struct fb_info *info, int mode,
- int fg, int bg)
+ int softback_lines, int fg, int bg)
@xxc3nsoredxx
xxc3nsoredxx / $ emerge --info grub;
Created July 19, 2023 03:30
$ emerge --info grub;
$ emerge --info grub
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/hardened/selinux, gcc-12, glibc-2.37-r3, 6.1.38-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.1.38-gentoo-x86_64-AMD_Ryzen_7_PRO_4750U_with_Radeon_Graphics-with-glibc2.37
KiB Mem: 32081028 total, 28663144 free
KiB Swap: 33554428 total, 33554428 free
Timestamp of repository gentoo: Wed, 19 Jul 2023 02:30:01 +0000
Head commit of repository gentoo: 3b97bc94f093bfd6cce2368cf12ee77a5bd01167