Заглавная страница — различия между версиями
Материал из Wiki.tropin.info
Tropin (обсуждение | вклад) |
Tropin (обсуждение | вклад) м |
||
| (не показаны 4 промежуточные версии этого же участника) | |||
| Строка 11: | Строка 11: | ||
<code>wget -O - https://raw.github.com/sivel/speedtest-cli/master/speedtest.py | python</code> | <code>wget -O - https://raw.github.com/sivel/speedtest-cli/master/speedtest.py | python</code> | ||
| − | <code>curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python</code> | + | <code>curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python</nowiki></code> |
| + | |||
| + | MikroTik | ||
| + | |||
| + | <code><nowiki>/tool/fetch mode=http output=none url=http://speedtest.edu.yar.ru/100MB</nowiki></code> | ||
| + | === passwords === | ||
| + | <code>cat /dev/urandom | tr -dc '0-9' | head -c4;echo</code> | ||
| + | |||
| + | === DHCP === | ||
| + | Получить ответ от сервера: | ||
| + | |||
| + | <code>nmap --script broadcast-dhcp-discover -e eth-lan</code> | ||
| + | |||
| + | Анализ DHCP трафика | ||
| + | |||
| + | <code>tcpdump -i eth-lan -pvn port 67 and port 68</code> | ||
| + | |||
| + | === Find === | ||
| + | Поиск rpmnew и rpmsave | ||
| + | |||
| + | <code>find / -regex '.*rpm\(new\|save\)'</code> | ||
== Некоторые полезные ресурсы == | == Некоторые полезные ресурсы == | ||
Текущая версия на 12:42, 10 сентября 2024
Содержание
Руководства
ПО
Полезные команды
speedtest
apt-get install python-modules-xml
wget -O - https://raw.github.com/sivel/speedtest-cli/master/speedtest.py | python
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python</nowiki>
MikroTik
/tool/fetch mode=http output=none url=http://speedtest.edu.yar.ru/100MB
passwords
cat /dev/urandom | tr -dc '0-9' | head -c4;echo
DHCP
Получить ответ от сервера:
nmap --script broadcast-dhcp-discover -e eth-lan
Анализ DHCP трафика
tcpdump -i eth-lan -pvn port 67 and port 68
Find
Поиск rpmnew и rpmsave
find / -regex '.*rpm\(new\|save\)'