I hereby claim:
- I am antonydevanchi on github.
- I am devanchi (https://keybase.io/devanchi) on keybase.
- I have a public key ASC0qzt___ucgZcBYJaf2P5gmLAJ3_QwDzk1YN3JBNeHsAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # | |
| # Description: Releases for this script are available at: | |
| # https://gist.github.com/gorakhargosh/c3902d08a939995fb4af/ | |
| # | |
| # The above URL has a bit.ly link as: | |
| # http://bit.ly/bhojo-config | |
| # | |
| # The script is intended to be written and reviewed in the repository | |
| # but released as a gist at the abovementioned URL. |
| #!/bin/bash | |
| # IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after. | |
| # WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
| # Get active services: launchctl list | grep -v "\-\t0" | |
| # Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
| # Agents to disable | |
| TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi |
| // use this format since .eslintrc is deprecated. | |
| // You can logically derive this format. | |
| module.exports = { | |
| parser: 'babel-eslint', | |
| extends: [ | |
| 'plugin:flowtype/recommended', | |
| 'plugin:jest/recommended', | |
| 'plugin:react/recommended', | |
| 'eslint-config-airbnb', |
| chrome.storage.local.get(null, function(items) { // null implies all items | |
| var toby_state = items['state']; | |
| window.URL = window.webkitURL || window.URL; | |
| var blob = new Blob([ toby_state ], {type : "application/json;base64"}); | |
| var timestamp = new Date().getTime(); | |
| var a = document.createElement('a'); | |
| a.href = window.URL.createObjectURL(blob); |
| # https://klaver.it/linux/debian-security.txt | |
| # ------------------------------------------------------- | |
| # Some common sense basics to secure Debian Linux servers | |
| # installing extra security packages | |
| apt-get install denyhosts tiger rkhunter chkrootkit snort oinkmaster checksecurity logcheck logwatch fcheck logcheck-database syslog-summary tripwire auditd acct ninja sysstat |
rsync (Everyone seems to like -z, but it is much slower for me)
| // How to: | |
| // 1) Login into https://icloud.com | |
| // 2) Open the developer tools and execute this code in the console | |
| // See more @ https://medium.com/bugbountywriteup/how-apple-stored-all-your-email-metadata-for-years-on-their-servers-2a61b1a3232d | |
| const _API_URL='https://p18-mailws.icloud.com/wm/recents'; | |
| const _requestContacts = () => { | |
| console.warn('Requesting your contacts...'); | |
| return fetch(_API_URL, { | |
| method: 'POST', | |
| headers: { |
| "Mozilla/5.0 | |
| "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36" | |
| 'Cloud mapping experiment. Contact [email protected]' | |
| 'Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/' | |
| () { :; }; echo ; echo ; /bin/cat /etc/passwd | |
| (CASE WHEN (1933=6210) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 1933*(SELECT 1933 FROM DUAL UNION SELECT 6210 FROM DUAL) END) | |
| (CASE WHEN (3405=3405) THEN 3405 ELSE 3405*(SELECT 3405 FROM DUAL UNION SELECT 8193 FROM DUAL) END) | |
| (CASE WHEN (5046=4939) THEN 5046 ELSE 5046*(SELECT 5046 FROM DUAL UNION SELECT 4939 FROM DUAL) END) | |
| (CASE WHEN (7404=7404) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 7404*(SELECT 7404 FROM DUAL UNION SELECT 6679 FROM DUAL) END) |