- Compile the program in gcc with debug symbols enabled (
-g
) - Do NOT strip the binary
- To generate assembly code using gcc use the -S option:
gcc -S hello.c
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 7 columns, instead of 6 in line 8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name, Level, Booths, Website, X Profile, LinkedIn Profile, Facebook Profile | |
"Armis Inc", Titanium, 1820 BMR179, https://armis.com/, , https://www.linkedin.com/company/armis-security/mycompany/, | |
"CrowdStrike", Titanium, 1520 BMR160 BMR162, https://www.crowdstrike.com/, https://x.com/crowdstrike, https://www.linkedin.com/company/crowdstrike/, https://www.facebook.com/crowdstrike/ | |
"Qualys", Titanium, 1320, https://www.qualys.com/, https://x.com/qualys, https://www.linkedin.com/company/qualys, | |
"RiskRecon by Mastercard", Titanium, 2500 BMR075, https://www.riskrecon.com/, , , | |
"SentinelOne", Titanium, 1620 BMR168, https://www.sentinelone.com/, , , | |
"ThreatLocker", Titanium, 1120 BMR378, https://www.threatlocker.com/, , , | |
"Broadcom", Diamond, 1332 BMR172, https://www.security.com/, https://www.x.com/symantec, https://www.linkedin.com/company/symantec, | |
"Cisco", Diamond, 1732 CZ1, https://www.cisco.com/site/us/en/products/security/index.html, https://x.com/cisco/status/1653209712538816512, https://www.linkedin.com/showc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
distros="karmic lucid maverick natty oneiric precise quantal raring saucy trusty utopic vivid wily xenial yakkety zesty artful bionic cosmic disco eoan focal groovy hirsute" | |
cmd="apt install " | |
for d in $distros; do | |
echo "Downloading $d" | |
cmd="${cmd} ubuntu-wallpapers-${d}" | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBDIRS = src doc whatever | |
.PHONY: all clean | |
all clean: | |
for dir in $(SUBDIRS); do \ | |
$(MAKE) -C $$dir -f Makefile $@; \ | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Dumps memory to stdout | |
*/ | |
void dump_mem(void *addr, size_t len) { | |
int i; | |
unsigned char *p = addr; | |
for (i=0; i<len; i++) { | |
if (i % 16 == 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
logging.basicConfig(level=logging.INFO, format='[%(asctime)s %(levelname)s] %(message)s', datefmt='%Y %b %d %H:%M:%S') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"brand": "kvm", | |
"vcpus": 1, | |
"autoboot": false, | |
"ram": 1024, | |
"resolvers": ["208.67.222.222", "208.67.220.220"], | |
"disks": [ | |
{ | |
"boot": true, | |
"model": "virtio", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for the wrapper | |
# The wrapper target is going to prompt you for your root password | |
# so don't run this if you are set to do stuff non-interactively. | |
THIS_DIR = $(shell pwd) | |
DEFINES=-DPING_AGENT_PATH="\"$(THIS_DIR)\"" | |
wrapper: wrapper.o | |
gcc -o wrapper wrapper.c $(DEFINES) | |
sudo chown root wrapper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQENBFjapy4BCADfiGBLezvJoH963Tjf4JWVNtEkV7rtabQkfnvO85cSs0XwSUYk | |
KpjxwDO7ZVV6r+kppEzy12sKO8j2fe3yY+oJmNUU+d5sKkubyFSdbafIdq6rvCJC | |
stXxnGxKcDtUQIBioGXPBElk8IC3RncyMJ/QSZrmxV8M0eVRpAgKTamzHpATvO+A | |
bEYMvDn8fWUIZW1QBjryWksGDdIy997yfFtsw1ruK0ZBQxZ/22KZJx+x2FDWH91s | |
mehQ4q4vhJ04WXgK4HDfK2H4EOwknkvtWdSP4vvKrZDAgTkYBuSRIqW49OBWxQaw | |
YSLYha3TaWSTcydMEldJy1XVMh4PZp8ymlI1ABEBAAG0J0F1c3RpbiBLZWVsZXkg | |
PGF1c3Rpbi5rZWVsZXlAZ21haWwuY29tPokBPQQTAQgAJwIbAwULCQgHAgYVCAkK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Ugh... I have to download all 3 programs? psssh... | |
ELASTICSEARCH_VERSION="1.7.1" | |
LOGSTASH_VERSION="1.5.3" | |
KIBANA_VERSION="3.1.3" | |
curl -L "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-$ELASTICSEARCH_VERSION.tar.gz" -o "elasticsearch-$ELASTICSEARCH_VERSION.tar.gz" | |
curl -L "https://download.elastic.co/logstash/logstash/logstash-$LOGSTASH_VERSION.tar.gz" -o "logstash-$LOGSTASH_VERSION.tar.gz" | |
curl -L "https://download.elastic.co/kibana/kibana/kibana-$KIBANA_VERSION.tar.gz" -o "kibana-$KIBANA_VERSION.tar.gz" |
NewerOlder