3????Linux?в???????????????????
?????Aaron Kili ???????[ 2017/2/7 10:37:30 ] ?????????????? Linux
??????????????£????????????? Delete ??????????? rm ???????????????????????????????????????У????κδ洢??????????????????
?????????????????????????????????????????????п??????????????????????????????????
???????????????????????????????簲???????????????????б????????????????????????????????????????????Щ????????????2????????????????
??????????У???????????Щ?????й????????????????? Linux ?е??????
????1?? shred – ?????????????????
????shred ?????????????????????????????????????????
????$ shred -zvu -n 5 passwords.list
????????????????У?????У?
????-z - ???????????????
????-v - ???????????
????-u - ???????????????
????-n - ?????????????????????????3??
????shred – ?????????????????????
??????????? shred ?????????????????÷??????????
????$ man shred
????2?? wipe – ?? Linux ?а????????
????wipe ???????????????????е??????????????????????????????????
????????????????? wipe ??????????????????????
????$ sudo apt-get install wipe [Debian ??????????]
????$ sudo yum install wipe [???? RedHat ????]
?????????????????? private ???μ??????????
????$ wipe -rfi private/*
???????????????????
????-r - ???? wipe ???????????
????-f - ?????????????????????
????-i - ???????????
????wipe – ?? Linux ?а?????????
???????wipe ???????????洢???????????????????????????棩???????????????
??????? wipe ???????????????????????
????$ man wipe
????3?? Linux ?е???????????
????secure-delete ??????????????????????????????????????????? srm??secure_deletion???????
?????????????????????????????????
????$ sudo apt-get install secure-delete [Debian ??????????]
????$ sudo yum install secure-delete [???? RedHat ????]
??????????????????? srm ?????? Linux ?а????????????????
????$ srm -vz private/*
?????????????????
????-v – ???? verbose ??
????-z – ??0??????????????????????д??
????srm – ?? Linux ?а????????
??????? srm ?????????????????????????
????$ man srm
????4?? sfill -?????????? / inode ????????
????sfill ?? secure-deletetion ????????????????????????????? inode ??????????????????????????????????е?????? sfill ???????????????????????????? /dev/urandom ????????????????
??????????????????????????? sfill????? `-v’ ??????? verbose ????
????$ sudo sfill -v /home/aaronkilik/tmp/
?????????????????????????? /home ???洢????????????????????????÷??????????????????????????? sfill??
????$ sudo sfill -v /home/username
??????????? sfill ???????????Щ???????????????????????????????
????$ man sfill
???????secure-deletetion ??????е??????????????sswap ?? sdmem?????????Χ????????????????????????ú???????????????????????????????
????5?? sswap – ??? swap ??????
???????????????????????????sswap ??????????? swap ???????????????
???????棺????????? sswap ??ж?? swap ?????? ???????????????????
???????????????????????????????豸/?????????????????? swapon ?????????????????swapoff ??????÷????????豸/?????? swap ?????????????
??????????????? swap ?????????? sswap ????
????$ cat /proc/swaps
????$ swapon
????$ sudo swapoff /dev/sda6
????$ sudo sswap /dev/sda6 #?????????????Щ??????????? 38 ?????
????sswap – ??? swap ??????
??????? sswap ????????????????????????
????$ man sswap
????6?? sdmem – ???????????
????sdmem ??????????????????????????????????????????洢????RAM???е??????
????????????? smem??????????? Debain ?????????????? smem – ?????????????????????????????????????????????????? sdmem??
????$ sudo sdmem -f -v
??????????????????????? sdmen ?????
????$ man sdmem
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11