C:\Users\Administrator>ping tool.eu.org
C:\Users\Administrator>ipconfig /displaydns |powershell -Command "$input |Out-String -stream |Select-String -pattern ': tool' -Context 2,4"
tool.eu.org
----------------------------------------
> Record Name . . . . . : tool.eu.org
Record Type . . . . . : 1
Time To Live . . . . : 1476
Data Length . . . . . : 4
Section . . . . . . . : Answer
Category Archives: Uncategorized
always look for broken links
If you occur problem in compilation, check the file and symlink.
/usr/ports/devel/llvm80 # make
(...)
===> Building for llvm80-8.0.1_3 ninja: error: '/usr/local/lib/libexecinfo.so', needed by 'bin/lldb-argdumper', missing and no known rule to make it ===> Compilation failed unexpectedly.
% ls -l /usr/local/lib/libexecinfo.so lrwxr-xr-x 1 root wheel 16 May 19 2014 /usr/local/lib/libexecinfo.so -> libexecinfo.so.1
% which /usr/local/lib/libexecinfo.so /usr/local/lib/libexecinfo.so: Command not found.
% file /usr/local/lib/libexecinfo.so /usr/local/lib/libexecinfo.so: broken symbolic link to libexecinfo.so.1
# unlink /usr/local/lib/libexecinfo.so
NEXXTW3020H -> LEDE
Very poor stock firmware
How to prevent /etc/resolv.conf of being overwritten by dhcp
When you connecting and obtaining IP through dhcp, the file /etc/resolv.conf could be created.
If You want to have yours DNS servers, not this from your network/internet provider, you can:
1. write protect the file /etc/resolv.conf
# chattr +i /etc/resolv.conf
creating md5 sums on filesystem
time find -name "." -type f -not -path "/proc/" -not -path "/sys/" -not -path "/dev/" -not -path "/run" -exec md5sum "{}" + > /root/checklist.chk
Cheatsheets
Penetration testing
https://techincidents.com/important-penetration-testing-cheat-sheet
Windows Command Line
https://www.windows-commandline.com
benchmark for Linux/FreeBSD
In Linux:
# git clone https://github.com/kdlucas/byte-unixbench.git # cd byte-unixbench/UnixBench/ # ./Run
Modifications on FreeBSD:
comment out in Makefile
#OSNAME:=$(shell uname -s)
modify ./Run
#!/usr/bin/perl -w
#!/usr/local/bin/perl -w
my $make = $ENV{MAKE} || "make";
my $make = $ENV{MAKE} || "gmake";
then
./Run
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!