LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2013, 08:07 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Rep: Reputation: 73
Where are flash cookies stored


I am in China. I use Astrill as VPN. Today the Chinese govt totally blocked the BBC. Now I know the BBC is a very biased news source, but I try to read between the lines.

One thing Astrill support told me was to go to this link to look at and remove all flash cache cookies:

http://www.macromedia.com/support/do...manager07.html

I would like to know where they are stored on my laptop. Then I can get rid of them myself. Or just change the write permission of the relevant folder.

I use Ubuntu 12.04

Last edited by Pedroski; 10-18-2013 at 08:08 AM.
 
Old 10-18-2013, 12:49 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
If you have access to BleachBit in your software installer it could work, I use Firefox it lets me clear the cookies in the options
 
Old 10-18-2013, 12:50 PM   #3
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
http://www.linuxquestions.org/questi...n-linux-51681/
 
Old 10-18-2013, 01:39 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
in fedora they are located in ~/.macromedia.
 
1 members found this post helpful.
Old 10-18-2013, 01:46 PM   #5
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
(~/.macromedia) looks like same here in Debian land (which Ubuntu is based on)

Edit: the . at start means hidden file or folder and of course ~ is /home

Last edited by jamison20000e; 10-18-2013 at 01:51 PM.
 
Old 10-18-2013, 06:33 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,643

Rep: Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653Reputation: 2653
link ~/.macromedia/Flash_Player/#SharedObjects
to /dev/null

Code:
rm ~/.macromedia/Flash_Player/#SharedObjects
ln -s /dev/null ~/.macromedia/Flash_Player/#SharedObjects
that will keep all flash "forever cookies" off the system


this is a very OLD hack, i think at least 8 to 10 years old

Last edited by John VV; 10-18-2013 at 06:36 PM. Reason: added to
 
1 members found this post helpful.
Old 10-18-2013, 07:36 PM   #7
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Thanks for the advice. Could you please just help with the tilde '~' in

rm ~/.macromedia/Flash_Player/#SharedObjects
ln -s /dev/null ~/.macromedia/Flash_Player/#SharedObjects

I should write:

rm /home/pedro/.macromedia/Flash_Player/#SharedObjects
ln -s /dev/null /home/pedro/.macromedia/Flash_Player/#SharedObjects

or is the tilde sufficient??
 
Old 10-18-2013, 07:41 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,301
Blog Entries: 24

Rep: Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256
Assuming your user is pedro then either will work.

The tilde simply gets expanded by the shell to /home/pedro so they are equivalent.
 
1 members found this post helpful.
Old 10-18-2013, 08:37 PM   #9
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Yeah that's me pedro! Thanks.

What does this code actually do? It sends anything written to /home/pedro/.macromedia/Flash_Player/#SharedObjects straight to /dev/null??

/dev/null is what? A non-existant address range??
 
Old 10-18-2013, 11:31 PM   #10
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,301
Blog Entries: 24

Rep: Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256
Quote:
Originally Posted by Pedroski View Post
Yeah that's me pedro! Thanks.

What does this code actually do? It sends anything written to /home/pedro/.macromedia/Flash_Player/#SharedObjects straight to /dev/null??

/dev/null is what? A non-existant address range??
/dev/null, also often known as the "bit bucket" is a "device" that can be written to and read from just as most other devices. So it looks like any other filesystem location to programs reading and writing to it.

But anything written to it is simply discarded. When read, it simply returns NULL and the end-of-file marker.

So by symlinking the flash cookie file to /dev/null, flash still "sees" the writable cookie file. When flash tries to read those cookies, it finds an empty file - the cookies written to it are gone forever.
 
2 members found this post helpful.
Old 10-19-2013, 03:19 AM   #11
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
pedro@peterpu:~$ rm ~/.macromedia/Flash_Player/#SharedObjects
rm: cannot remove `/home/pedro/.macromedia/Flash_Player/#SharedObjects': Is a directory
pedro@peterpu:~$
 
Old 10-19-2013, 03:24 AM   #12
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,301
Blog Entries: 24

Rep: Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256Reputation: 4256
Quote:
Originally Posted by Pedroski View Post
pedro@peterpu:~$ rm ~/.macromedia/Flash_Player/#SharedObjects
rm: cannot remove `/home/pedro/.macromedia/Flash_Player/#SharedObjects': Is a directory
pedro@peterpu:~$
Try...

Code:
rm -rf ~/.macromedia/Flash_Player/#SharedObjects
 
Old 10-19-2013, 03:44 AM   #13
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
symlink

That did the trick, I think.

Does this look ok??
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2013-10-19 15:43:02.png
Views:	75
Size:	46.9 KB
ID:	13757  
 
Old 02-05-2014, 12:07 PM   #14
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Quote:
Originally Posted by John VV View Post
link ~/.macromedia/Flash_Player/#SharedObjects
to /dev/null

Code:
rm ~/.macromedia/Flash_Player/#SharedObjects
ln -s /dev/null ~/.macromedia/Flash_Player/#SharedObjects
that will keep all flash "forever cookies" off the system


this is a very OLD hack, i think at least 8 to 10 years old
Can one cat (a text files content) to /dev/null in such a way it keeps the file there but always empty? I'm sure link would not work but where can I place the command?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where are cookies stored in suse9 and fc4 dinesh3012 Linux - Software 2 02-17-2006 03:39 PM
website username/password cookies - where are they stored? coolamit78 Linux - Software 1 01-27-2004 02:47 PM
where are cookies (in Linux) stored. edreddy Linux - General 4 08-20-2003 06:59 PM
where are cookies in Linux are stored. edreddy Linux - Software 5 08-20-2003 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration