EvilZone
Hacking and Security => Hacking and Security => : m0l0ko May 14, 2014, 09:29:11 AM
-
When I start typing something into the URL bar, the first thing that comes up is "Lovely Lesbians fucking so intense". I wouldn't want my mother seeing that if she uses my laptop lol. I deleted the history the conventional way (CTRL + SHIFT + DEL then delete all history and cookies etc.). Then I went into the mozilla folder and deleted all the sqlite database files that store history. I'm on linux BTW. Do I need to delete the cache folder or something?
-
Hey, seems like you have some troubles clearing your browser history..
Step 1: Learn to use the Private Tabs before you start browsing porn - especially on a shared computer.
Step 2: https://support.mozilla.org/en-US/kb/remove-recent-browsing-search-and-download-history
-
If you want to do a deep clean I suggest you use bleachbit.
This will also attempt to remove flash cookies and other crap left behind by plugins.
The history is stored in an sqlite file in your ~/.something depending on the distro.
-
just delete the sql light file this reminds me of a script i made
#!/bin/bash
echo "welcome please enter your password: "
read password
if [[ $password == "fuck" ]]; then
{
cp /lol/files/places.sqlite ~/.mozilla/firefox/gkla9oqj.default/
echo "master your history is back" |espeak
}
elif [ $password == "pussy" ]; then
{
echo "master history has been removed good day my master" |espeak
cp ~/.mozilla/firefox/gkla9oqj.default/places.sqlite /lol/files/
rm ~/.mozilla/firefox/gkla9oqj.default/places.sqlite
}
else
{
clear
echo "Fail attemp[+]" > /lol/files/loginattemplogs
date +"%c" >> /lol/files/loginattemplogs
echo " end of that log[-]" >> /lol/files/loginattemplogs
echo "master knows you are on his computer now get the fuck off it" |espeak
clear
}
fi
-
just delete the sql light file this reminds me of a script i made
1. It's SQLite.
2. Your script doesn't do shit.
-
Cheers for all the info, this will really come in handy. I started writing a bash script to wipe out history, and harden the OS recently. I only started it and dont have time to get too much into it so I was hoping some people here could pitch in. I'll start a thread for it, but heres what I've got so far:
#!/bin/bash
#!/bin/bash
mode="safe"
export $mode
# DISABLING DANGEROUS APPS
# Stop Ubuntu from gathering geographical information via GeoIP
gsettings set com.ubuntu.geoip geoip-url ""
function deleteData {
declare -a dataPaths=("${!2}")
for dataPath in ${dataPaths[*]}
do
if [ ! -e ${dataPath} ]; then
echo "${dataPath} not found!"
continue
fi
case $1 in
"safe")
echo -e "$dataPath"
;;
"delete")
if [ ! -f ${dataPath} ]; then
echo -e "Deleting ${dataPath} file"
rm -fv ${delPath}
elif [ ! -d ${dataPath} ]; then
echo -e "Deleting ${dataPath} directory"
rm -frv ${delPath}
fi
;;
*)
echo -e "$delPath"
;;
esac
done
}
# REMOVE BAD STARTUP APPS
function removeStartupApps {
startupDir="/etc/xdg/autostart/"
declare -a startupFiles=("zeitgeist-datahub" "vino-server" "tracker-store")
startupFiles=("${startupFiles[@]/%/.desktop}")
delData=("${startupFiles[@]/#/${startupDir}}")
deleteData "$mode" delData[@]
}
# DELETE APPLICATION DATA
function deleteAppData {
fileList=()
appDir=""
case $1 in
"firefox")
appDir="$HOME/.mozilla/firefox/$(ls ~/.mozilla/firefox/ | grep 'default')/"
fileList=("formhistory.sqlite" "downloads.sqlite" "search.sqlite" "places.sqlite" "cookies.sqlite")
;;
"chromium-browser")
appDir=""
appsList=("")
;;
*)
echo "Incorrect app selected"
;;
esac
delPaths=( "${fileList[@]/#/${appDir}}" )
deleteData "$mode" delPaths[@]
}
appsList[0]="firefox"
appsList[1]="chromium-browser"
for app in ${appsList[*]}
do
deleteAppData $app
done
# DELETE CACHE FOLDERS
cacheDir="$HOME/.cache/"
deleteDir=()
deleteDir[0]="thumbnails"
deleteDir[1]="mozilla"
deleteDir[2]="chromium"
deleteDir[3]="vlc"
delPaths=( "${deleteDir[@]/#/${cacheDir}}" )
deleteData "$mode" delPaths[@]
removeStartupApps
# DELETE LSO COOKIES
echo "Deleting cookies:"
ls $HOME/.macromedia/Flash_Player/#SharedObjects/*/*
sudo rm -rf $HOME/.macromedia/Flash_Player/#SharedObjects/*/*
On safe mode it'll just print the files it would usually delete. With the exception of LSOs, it'll delete them either way.