# Forked from https://gist.github.com/gguerini
# Syntax edits by Sick Codes (GPLv3+)
# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Show remaining battery time; hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
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
# https://gist.githubusercontent.com/pry0cc/dd2e7955d0a0222eb6c09cb283a6d614/raw/3c7bd4c20bb7649a944a36507073d9c9ab4100d8/ports.py | |
#!/usr/bin/env python | |
# Author @pry0cc | |
## $ ports.py nmap.xml | |
## 8.8.8.8:80 | |
## 8.8.8.8:443 | |
## 8.8.8.8:3305 |
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
0.0.0.0/8 | |
0.0.0.0/32 | |
10.0.0.0/8 | |
100.64.0.0/10 | |
127.0.0.0/8 | |
169.254.0.0/16 | |
172.16.0.0/12 | |
192.0.0.0/24 | |
192.0.0.0/29 | |
192.0.0.8/32 |
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 | |
# Author: bertelsmann | |
# Original: https://turbo-quattro.com/showthread.php?15648-How-to-extract-a-IFS-file | |
# Link: https://turbo-quattro.com/showthread.php?15648-How-to-extract-a-IFS-file&p=367809&viewfull=1#post367809 | |
# Modified by: @sickcodes <https://github.com/sickcodes/> | |
ELEVATED="${ELEVATED:=false}" | |
IFSDUMP=dumpifs | |
TMPDIR="${PWD}" | |
CURDIR="${PWD}" |
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 | |
# Author: sickcodes | |
# Contact: https://twitter.com/sickcodes | |
# Copyright: sickcodes (C) 2021 | |
# License: GPLv3+ | |
# reinstall all packages, unattended | |
# does not include any manual makepkg'ed installations | |
# said packages, plus any unavailable AUR packages will be listed at ~/yay_reinstall_failed.log |
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
#unsecure - SELinux enabled. | |
ro.build.selinux=1 | |
#unsecure - SELinux set permissive (not enforcing), disable re-applying policy and context. You must also edit the boot.img with those props and add 'setenforce 0' according to https://gist.github.com/eladkarako/5694eada31277fdc75cee4043461372e#gistcomment-3475304 -- then repack the boot.img and flash it (init.rc will launch at boot). | |
ro.boot.selinux=permissive | |
androidboot.selinux=permissive | |
persist.android.strictmode=0 | |
persist.selinux.enforcing=0 | |
ro.build.selinux.enforce=0 | |
security.perf_harden=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
#!/bin/bash | |
# Author: sickcodes | |
# Contact: https://twitter.com/sickcodes | |
# Copyright: sickcodes (C) 2021 | |
# License: GPLv3+ | |
# admin | |
# mypassword | |
export PASSWORD=mypassword |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>Security & Privacy</string> | |
<key>PayloadEnabled</key> |
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: Check if Previously Run | |
stat: | |
path: /var/log/ansible.log | |
register: ansible_logfile | |
- name: Enable FileVault2 | |
filevault: enabled=true | |
become_user: root |
NewerOlder