Both sides previous revision Previous revision Next revision | Previous revision |
tmp [2024/08/07 15:42] – admin | tmp [2024/09/23 20:58] (current) – admin |
---|
| <code> |
| deb http://10.59.0.69/repo/smolensk/1.6.14/update smolensk main contrib non-free |
| deb http://10.59.0.69/repo/smolensk/1.6.14/dev-update smolensk main contrib non-free |
| |
| |
| |
| pkgs=`dpkg -l 2> /dev/null | egrep "^ii\s*linux-image-[456]\.[[:digit:]]+\.[[:digit:]]+-[[:digit:]]+-" | cut -d " " -f3 | grep -v ^linux-image-$(uname -r | cut -d '-' -f1-2)` |
| |
| apt remove $pkgs |
| |
| rm -f /boot/old-* |
| </code> |
| <code> |
| chromium-browser |
| --kiosk |
| --disable-session-crashed-bubble |
| --disable-infobars |
| --user-data-dir=/home/pi/browser/ |
| file:///home/pi/my_page_loader.html?fwd_url=https://www.mywebsite.com/ |
| </code> |
| |
<code> tar -cvf - --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/var/log --exclude=/var/lib/lxcfs/ --exclude=/var/cache/apt/archives / | gzip -9 | ssh user@remote_server.example.com 'cat > /path/to/backup/bot-ar-`date +%m-%d-%Y`.tgz' | <code> tar -cvf - --exclude=/backup.tar.gz --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/var/log --exclude=/var/lib/lxcfs/ --exclude=/var/cache/apt/archives / | gzip -9 | ssh user@remote_server.example.com 'cat > /path/to/backup/bot-ar-`date +%m-%d-%Y`.tgz' |
| |
sudo sfdisk -d /dev/sdX | ssh user@remote_server "cat > /path/to/destination/partition_table.txt" | sudo sfdisk -d /dev/sdX | ssh user@remote_server "cat > /path/to/destination/partition_table.txt" |
| |
| |
R7 15............12 | |
<decrypt>U2FsdGVkX1/ck3nD86MxdXd+rmBBkOKsHrqpqzEbelXIpa0Skl3jtUKY4AWwhz6r | |
ZasKMcX/UMi7osHNyFKXwTmZ1ffi2vOAhza6arIzPp6o4AqcNDjcBcN6ervJ3Z72 | |
9dctA+fGyHmDHNr0VCSJZLXY8N1Hf5OXqWhme3qP9LRyURLFyuzqY1m3t/L+xII9</decrypt> | |
| |
</code> | </code> |
sudo nmap -sV -p- gorki.synology.me | sudo nmap -sV -p- gorki.synology.me |
| |
| |
| R7 15............12 \\ |
| <decrypt>U2FsdGVkX1/ck3nD86MxdXd+rmBBkOKsHrqpqzEbelXIpa0Skl3jtUKY4AWwhz6r |
| ZasKMcX/UMi7osHNyFKXwTmZ1ffi2vOAhza6arIzPp6o4AqcNDjcBcN6ervJ3Z72 |
| 9dctA+fGyHmDHNr0VCSJZLXY8N1Hf5OXqWhme3qP9LRyURLFyuzqY1m3t/L+xII9</decrypt> |
| |
{{gallery>hardware:pasted:?20231014*&200x200&crop&lightbox}} | {{gallery>hardware:pasted:?20231014*&200x200&crop&lightbox}} |