network

Linux cheatsheet – usefull commands

Network netstat -tulpn | grep LISTEN show all opened TPC/UDP sockets sudo ip link set eth0 up enable/disable network interface eth0-interface name up/down cat /etc/services | less list of services and ports

Windows “We can’t verify who created this file” – SOLVED

If you try open exe file from network drive you can face error: “We can’t verify who created this file”, is is because network drive is not recognized as the trusted network place. You can add this network place to trusted sites. Select “Start“, then type “Internet Options“. Open “Internet Options“. Select the “Security” tab. Select “Local intranet“, …

Windows “We can’t verify who created this file” – SOLVED Read More »

TOR – setup entry and exit nodes – SOLVED

Basic setup If you need setup entry and exit nodes for TOR it is quite easy. It is really useful when you developing websites or make penetration testing network firewall. navigate to your tor browser install directory open Browser folder open TorBrowser folder open Data folder open Tor folder open torrc file in your favorite text editor in torrc file insert these …

TOR – setup entry and exit nodes – SOLVED Read More »

Mikrotik P2P mangle rule – SOLVED

Its long time ago but MikroTik removed P2P matcher from mangle rule, so now you have to use L7 analyze to mangle this traffic. Here is code to paste to the terminal: /ip firewall layer7-protocol add name=P2Pmatch regexp=”^(\\x13bittorrent protocol|azver\\x01\$|get /scrape\\\ \?info_hash=get /announce\\\?info_hash=|get /client/bitcomet/|GET /data\\\?f\ id=)|d1:ad2:id20:|\\x08’7P\\)[RP]” /ip firewall mangle add action=mark-connection chain=prerouting layer7-protocol=P2Pmatch \ new-connection-mark=P2Pconnection passthrough=yes …

Mikrotik P2P mangle rule – SOLVED Read More »

Ping unable to resolve but nslookup works fine – workaround

Sometimes if you make changes to your local DNS server windows do not works ok to resolve this DNS record in a local network. What? nslookup ykylo Server: Address: 192.168.50.1 Name: ykylo Address: 192.168.50.100 C:\> ping ykylo Ping request could not find host wolfman. Please check the name and try again. C:\> ping 192.168.50.100 Pinging 192.168.50.100 …

Ping unable to resolve but nslookup works fine – workaround Read More »

Mikrotik CAPsMAN config cheatsheet

Best order to create CAPsMAN Manager station Channels Datapaths Security Configuration Provisioning Interface->Manager->Enable Client station Wireless->Interface->CAP