[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Tor grassroots advocacy



You'll need to run them as root or using sudo.

Here's encryptswap.sh

swapoff /dev/sda2
dd if=/dev/urandom of=/dev/sda2 bs=1M
cryptoswap /dev/sda2 /dev/urandom
cipher=aes-cbc-essiv:sha256,size=256,hash=sha256,swap
echo "/dev/mapper/cryptoswap none swap sw 0 0" >> /etc/fstab

and here's encryptswaprandom.sh

swapoff /dev/sda2
dd if=/dev/random of=/dev/sda2 bs=1M
cryptoswap /dev/sda2 /dev/urandom
cipher=aes-cbc-essiv:sha256,size=256,hash=sha256,swap
echo "/dev/mapper/cryptoswap none swap sw 0 0" >> /etc/fstab

Here's wipeswap.reg (windows)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Memory Management\ClearPageFileAtShutdown]
"ClearPageFileAtShutdown"="1"
"REG_DWORD"="1"

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session
Manager\Memory Management\]
"ClearPageFileAtShutdown"="1"

Solidarity,
Ringo

slush wrote:
>>   Sudo /mnt/cdrom/presentation/encryptswap.sh or encryptswap_random.sh
> 
> Are these scripts available? These files arent in zip...
> 
> Interesting presentation. I will probably need another life to fulfill all
> these tips :-).
> 
> Marek
> 
> On Tue, Mar 17, 2009 at 11:51 PM, Ringo Kamens <2600denver@xxxxxxxxx> wrote:
> 
>> I'd be interested in these materials as well. I've been giving workshops
>> on privacy/security for about a year now and Tor has been a fairly big
>> part of them. The workshop is available as a PDF at
>> http://www.olyhackbloc.org/presentation.zip
>>
>>
>