Removed mklink for git
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
type: "topic"
|
||||
created: "2024-01-06T01:25:36.042Z"
|
||||
updated: "2024-01-06T01:25:36.042Z"
|
||||
created: 2024-01-06T01:25:36.042Z
|
||||
type: topic
|
||||
updated: 2024-11-03T18:42:23.038Z
|
||||
---
|
||||
|
||||
# NMap
|
||||
@ -535,3 +535,41 @@ ettercap -T -S -i ens18 -M arp:remote /192.168.3.1// /192.168.3.42//
|
||||
```bash
|
||||
"C:\Program Files (x86)\Nmap\nmap.exe" -A 192.168.31.50 -F -oX "D:\Tmp\192.168.31.50.xml"
|
||||
```
|
||||
|
||||
```bash Wed Oct 09 2024 07:13:04 GMT-0700 (Mountain Standard Time)
|
||||
# https://nmap.org/nsedoc/scripts/rdp-ntlm-info.html
|
||||
nmap -p 3389 --script rdp-ntlm-info <target>
|
||||
"C:\Program Files (x86)\Nmap\nmap.exe" -A 10.95.154.0/25 -F -oX "D:\Tmp\10.95.154.0.xml"
|
||||
# 7) lastboot=
|
||||
# 10.95.154.9
|
||||
# 10.95.154.14
|
||||
# 10.95.154.18
|
||||
# scovery" output="
|
||||
# 10.95.154.29
|
||||
# 10.95.154.31
|
||||
# 10.95.154.32
|
||||
# 4) key="date"
|
||||
# 4) id="ssl-cert"
|
||||
# 2) key="notBefore"
|
||||
# 2) key="notAfter"
|
||||
# 2) id="ssl-date"
|
||||
# 2) id="smb2-time"
|
||||
# 1) key="System_Time"
|
||||
# 1) key="start_date"
|
||||
# 1) id="rdp-ntlm-info"
|
||||
```
|
||||
|
||||
```c# Wed Oct 09 2024 11:13:59 GMT-0700 (Mountain Standard Time)
|
||||
private static void LastBoot()
|
||||
{
|
||||
DateTime dateTime;
|
||||
long[] seconds = [307988, 13835175, 891721, 3111906, 2663952, 672527, 13827962];
|
||||
string[] lastBootTimes = ["Sat Oct 5 19:05:28 2024", "Thu May 2 05:32:21 2024", "Sun Sep 29 00:56:35 2024", "Tue Sep 3 08:13:30 2024", "Sun Sep 8 12:39:24 2024", "Tue Oct 1 13:49:49 2024", "Thu May 2 07:32:34 2024"];
|
||||
System.Console.WriteLine(DateTime.Now.ToString("ddd MMM d HH:mm:ss yyyy"));
|
||||
for (int i = 0; i < seconds.Length; i++)
|
||||
{
|
||||
dateTime = DateTime.ParseExact(lastBootTimes[i], "ddd MMM d HH:mm:ss yyyy", null);
|
||||
System.Console.WriteLine(dateTime.AddSeconds(seconds[i]).ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user