- anordal/shellharden https://github.com/anordal/shellharden/blob/master/how_to_do_things_safely_in_bash.md
- Ten More Things I Wish I’d Known About bash https://zwischenzugs.com/2018/01/21/ten-more-things-i-wish-id-known-about-bash
- Ten Things I Wish I’d Known About bash https://zwischenzugs.com/2018/01/06/ten-things-i-wish-id-known-about-bash
- When Bash Scripts Bite :: Jane Street Tech Blogs https://blogs.janestreet.com/when-bash-scripts-bite/
- Gensokyo Blog - Use Bash Builtins shell,fish,bash https://blog.gensokyo.io/a/fafbe742.html
- Defensive Bash Programming http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming/
- barryclark/bashstrap https://github.com/barryclark/bashstrap
- Detecting the use of "curl | bash" server side
/** | |
* MIT License | |
Copyright (c) 2018 Matthew D. Bark | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
redis-cli EVAL "$(cat hello.lua)" 0 |
db.currentOp().inprog.forEach( | |
function(op) { | |
if(op.secs_running > 5) printjson(op); | |
} | |
) |
SELECT id, concat('kill ', id, ';') as kill_command, state, command, time, info | |
FROM information_schema.processlist | |
WHERE command <> 'Sleep' | |
AND info NOT LIKE '%PROCESSLIST%' | |
ORDER BY time DESC LIMIT 50; |
I hereby claim:
- I am mugli on github.
- I am mhasan (https://keybase.io/mhasan) on keybase.
- I have a public key ASCwWUfWDZ5wFSs-4qU91rQQ9Nrf6mGDtt7_65QeUPb2Bgo
To claim this, I am signing this object:
{"lastUpload":"2020-01-24T07:05:34.982Z","extensionVersion":"v3.4.3"} |
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.