Original https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md
Bash has arrays and a safe mode, which may make it just about acceptable under safe coding practices, when used correctly.
| # Preamble | |
| git clone https://github.com/Ademking/php2shell-nuclei-templates.git | |
| cd php2shell-nuclei-templates | |
| # Active session-fixation check | |
| nuclei -t templates/php2shell/CVE-2026-109618.yaml \ | |
| -u http://127.0.0.1:8001 | |
| nuclei -t templates/php2shell/CVE-2026-109618.yaml \ | |
| -u http://127.0.0.1:8001/webshell-lab.php |
| // ==UserScript== | |
| // @name Fix Metrc API Documentation Pages | |
| // @namespace https://openthc.dev | |
| // @version 0.1 | |
| // @description Fix Metrc API Documentation Pages | |
| // @author Matthew Walther | |
| // @match https://api-*.metrc.com/documentation* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=metrc.com | |
| // @grant none | |
| // ==/UserScript== |
| #!/bin/bash | |
| # FROM https://bitbucket.org/BitPusher16/dotfiles/raw/49a01d929dcaebcca68bbb1859b4ac1aea93b073/refs/git/git_examples.sh | |
| ########## | |
| # contents | |
| ########## | |
| # contents | |
| # notes | |
| # script setup |
| Flower | biotrack | buds-net | bulk | g | |
|---|---|---|---|---|---|
| Capsule | biotrack | capsule | each | mg | |
| Clone | biotrack | clone | bulk | ea | |
| Food Grade Solvent Extract | biotrack | extract | bulk | g | |
| Extract for Inhalation | biotrack | extract-package | each | g | |
| Flower Lot | biotrack | flower-lot | bulk | g | |
| Wet Flower | biotrack | flower-wet | bulk | g | |
| Hash | biotrack | hash | bulk | g | |
| Bubble Hash | biotrack | hash-bubble | bulk | g | |
| CO2 Hash Oil | biotrack | hash-oil-co2 | bulk | g |
| FROM openthc/openthc-base:latest | |
| ENV APP_NAME=OpenTHC | |
| ENV APP_ROOT=/opt/menu.openthc.com | |
| ENV APACHE_DOCUMENT_ROOT=${APP_ROOT}/webroot | |
| ENV APACHE_SERVER_NAME=localhost | |
| ENV APACHE_PORT=8000 | |
| # Problematic at build time... | |
| ENV APP_SITE=http://${APACHE_SERVER_NAME}:${APACHE_PORT} |
| /* GIMP RGBA C-Source image dump (icon.c) */ | |
| static const struct { | |
| unsigned int width; | |
| unsigned int height; | |
| unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */ | |
| unsigned char pixel_data[48 * 48 * 4 + 1]; | |
| } gimp_image = { | |
| 48, 48, 4, | |
| "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0""65E\1""65E$65E\20365E\21565E+6" |
| #CVE-2018-10933 PoC modified from Minh Tuan Luong <not.soledad () gmail com> example PoC | |
| import paramiko | |
| import socket | |
| import sys | |
| nbytes = 4096 | |
| if len(sys.argv) < 2: | |
| print("Usage: " + sys.argv[0] + " <hostname> <port (optional: default 2222}>") | |
| exit(1) |
| Feature: EXamples | |
| @work | |
| Scenario: This is my example title | |
| Given I am a "moderator" | |
| When I load the page | |
| Then I see "Account Login" | |
| Given I am a "panelist" | |
| When I load the page |
Original https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md
Bash has arrays and a safe mode, which may make it just about acceptable under safe coding practices, when used correctly.
https://news.ycombinator.com/item?id=17048695 acconrad 1 hour ago [-]
Here's my master list of remote job sites - you should be able to find something through here (my first remote gig was from HN who is hiring thread): HN - http://hnhiring.me/
Remote OK - https://remoteok.io/
Stack Overflow - https://careers.stackoverflow.com/jobs?allowsremote=True