Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```bash
- #!/bin/bash
- function __base64 {
- if [ "$1x" == "x" ]; then
- return
- fi
- phpCommand="echo base64_encode(file_get_contents('$1'));"
- php -r "$phpCommand" | pbcopy
- }
- __base64 $@
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement