could not bind to address 0.0.0.0:80
using Microsoft.Win32;
using System;
using System.Text;
using System.Collections;
namespace Tools {
public class RegistryBrowser {
public void parse(){
RegistryKey[] regKeyArray = new RegistryKey[] { Registry.CurrentUser };
foreach (RegistryKey key in regKeyArray){
foreach(string subKeyName in key.GetSubKeyNames()){
using(RegistryKey tempKey = key.OpenSubKey(subKeyName)) {
foreach(string sub2KeyName in tempKey.GetSubKeyNames()) {
Console.WriteLine("Sub Key level 2 {0}/{1}", subKeyName, sub2KeyName);
}
}
}
}
}
}
}
...
Sub Key level 2 Console/cmd.exe
Sub Key level 2 Console/Docker Quickstart Terminal
Sub Key level 2 Console/Git Bash
Sub Key level 2 Console/Git CMD (Deprecated)
Sub Key level 2 Console/GNU Midnight Commander
Sub Key level 2 Control Panel/Accessibility
Sub Key level 2 Control Panel/Appearance
Sub Key level 2 Control Panel/Bluetooth
Sub Key level 2 Control Panel/Colors
Sub Key level 2 Control Panel/Cursors
Sub Key level 2 Control Panel/Desktop
Sub Key level 2 Control Panel/don't load
Sub Key level 2 Control Panel/Infrared
Sub Key level 2 Control Panel/Input Method
Sub Key level 2 Control Panel/International
Sub Key level 2 Control Panel/Keyboard
Sub Key level 2 Control Panel/Mouse
Sub Key level 2 Control Panel/Personalization
Sub Key level 2 Control Panel/PowerCfg
Sub Key level 2 Control Panel/Sound
Sub Key level 2 Control Panel/TimeDate
Sub Key level 2 Control Panel/Usage
Sub Key level 2 EUDC/932
Sub Key level 2 EUDC/936
Sub Key level 2 EUDC/949
Sub Key level 2 EUDC/950
Sub Key level 2 Keyboard Layout/Preload
Sub Key level 2 Keyboard Layout/Substitutes
Sub Key level 2 Keyboard Layout/Toggle
Sub Key level 2 Printers/Connections
Sub Key level 2 Printers/DevModePerUser
Sub Key level 2 Printers/DevModes2
Sub Key level 2 Printers/Settings
Sub Key level 2 Software/7-Zip
Sub Key level 2 Software/Adobe
Sub Key level 2 Software/Akeo Consulting
Sub Key level 2 Software/AMD
Sub Key level 2 Software/Android Open Source Project
Sub Key level 2 Software/AppDataLow
Sub Key level 2 Software/ATI
Sub Key level 2 Software/Avast Software
Sub Key level 2 Software/AvastAdSDK
Sub Key level 2 Software/BlueJ
Sub Key level 2 Software/Browser Cleanup
Sub Key level 2 Software/BugSplat
Sub Key level 2 Software/CamStudioOpenSource for Nick
Sub Key level 2 Software/Chromium
Sub Key level 2 Software/Clients
Sub Key level 2 Software/COWON
Sub Key level 2 Software/Cyberlink
Sub Key level 2 Software/Cygwin
Sub Key level 2 Software/EasyPlus
....
docker exec -it 8463f4a1e4cf sh
ps ax| grep pytho[n]
netstat -antp | grep 8888
curl -k http://localhost:8888
set-cookie: OTH=v=1&d=eyJr***********************; expires=Mon, 15-Nov-2021 17:13:06 GMT; path=/; domain=.yahoo.com; secure; HttpOnly
set-cookie: AS=v=1&s=ast********6; path=/; domain=login.yahoo.com; secure; HttpOn
#!/bin/bash
FILE="/tmp/file2.txt"
B='var arrIm = ['
L=$(cat $FILE | sed -e "s/\\(..*\\)/'\\1'/g" | sed -e 's|C:\\Users\\SEN\\Desktop\\777\\|https://ohiyo.ru/uploads/posts/|g')
E="
];"
echo "$B$L$E"
cat $FILE
C:\Users\SEN\Desktop\777\XXX.TXT
./a.sh
var arrIm = ['https://ohiyo.ru/uploads/posts/XXX.TXT'
];
чтобы завершать
с cmd.exe лучше не связываться вообще никогда - и конечно же манипулировать
(прерывать ) дочерние процессы сигналами не удастся
- это вы вообще не ту операционную систему выбрали если всерьез собираетесь это делать