Skip to content

🔐 Karlo Luiten

Think Evil, DO Good

🔐 Karlo Luiten

Think Evil, DO Good

  • Home
  • About me
    • About me
    • LinkedIn
    • Guide to Karlo
  • SELinux cheat sheet
  • CISSP Reference
  • Contact
    • Home
    • Uncategorized
    • Page 2
Uncategorized

Find Linux architecture without arch command

karlo Dec 29, 2019 0 Comments

getconf LONG_BIT though uname -a should help too

Uncategorized

GNOME add minimize maximize

karlo Dec 20, 2019 0 Comments

I think I had a blog like this before. Apparently not. Adding minimize and maximize buttons to gnome (in kali for example, if you cannot update:) gsettings set org.gnome.desktop.wm.preferences button-layout…

Uncategorized

Linux run (ELF) binary without execute rights

karlo Dec 15, 2019 0 Comments

/lib/ld-linux.so /bin/chmod +x /bin/chmod or find your own ld location

Uncategorized

Linux perform action on file change (like recompile or re-render)

karlo Dec 2, 2019 0 Comments

yum install inotify-tools while inotifywait page.html ; do weasyprint page.html page.pdf ; done

Uncategorized

Compiling: “bad register name `%rsp'”

karlo Nov 28, 2019 0 Comments

Check if the arch you are compiling for (or in) has the register you try. For example the rsp register is x86_64, not x86...

Uncategorized

Problem building Virtualbox modules on Centos (cannot generate ORC metadata)

karlo Nov 28, 2019 0 Comments

Guest Additions 6.0.14 module for kernel 4.18.0-80.11.2.el8_0.x86_64. Error building the module. Build output follows. make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.18.0-80.11.2.el8_0.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules make: warning: -jN forced in submake: disabling…

Uncategorized

Vim case insensitive searching /\csearch

karlo Nov 27, 2019 0 Comments

use \c before your search string For example: /\csearch will find Search.

Uncategorized

Find windows version from commandline (cmd)

karlo Nov 18, 2019 0 Comments

use systeminfo . Running might take 10 seconds.

Uncategorized

Windows identify user (‘whoami’ is not recognized as an internal or external command,)

karlo Nov 18, 2019 0 Comments

Whoami binary, or type "set" and see if it is in the vars.Download

Uncategorized

Running compiled code sh: [10665: 4] tcsetattr: Invalid argument error

karlo Nov 16, 2019 0 Comments

Compiling exploit and getting the sh: tcsetattr: Invalid argument error? It helps to compile on a similar box. Find what linux runs your same kernel version+arch and compile there. Centos…

Uncategorized

Sample systemd unit file

karlo Nov 12, 2019 0 Comments

Description=Sonarr Daemon After=syslog.target network.target User=sonarr Group=sonarr Type=simple ExecStart=/usr/bin/mono /opt/sonarr/bin/NzbDrone.exe -nobrowser -data /opt/sonarr TimeoutStopSec=20 WantedBy=multi-user.target

Uncategorized

Vim use space to run macro q

karlo Nov 10, 2019 0 Comments

:nnoremap <Space> @q

Uncategorized

Vim show some lines after cursor

karlo Nov 10, 2019 0 Comments

set scrolloff=10

Uncategorized

Thunderbird hidden option: sync all subfolders

karlo Oct 31, 2019 0 Comments

I have a nice procmail setup, but thunderbird by default does not show/update the subfolders: Open the Config Editor (Hamburger menu (top right) --> Preferences --> Preferences -> Advanced -->…

Uncategorized

Metasploit using grep (no pipes | )

karlo Oct 30, 2019 0 Comments

instead of show payloads | grep windows do grep windows show payloads :)

Uncategorized

SQLMap pentesting answer Yes (or default) to questions

karlo Oct 26, 2019 0 Comments

use --batch

Uncategorized

Cross compiling error mingw32: Windows.h: No such file or directory

karlo Oct 20, 2019 0 Comments

Rename Windows.h to windows.h ;) Small letter fixes this. 47176.c:1:10: fatal error: Windows.h: No such file or directory #include ^~~ compilation terminated.

Uncategorized

Use ls in cmd.exe

karlo Oct 19, 2019 0 Comments

doskey ls=dir

Uncategorized

Vim jump to specific character (number) in (long) line

karlo Oct 18, 2019 0 Comments

2 options to jump to 100th character: Use mouse cursor movement: 100l (small L)Or put cursor in exact column: 100| (pipe character)

Uncategorized

XFCE Focus follows mouse

karlo Oct 18, 2019 0 Comments

Settings Window ManagerFocusFocus modelset Focus follows mouse

Uncategorized

Go compile error checksum mismatch (lnd)

karlo Oct 16, 2019 0 Comments

verifying github.com/btcsuite/btcd@v0.20.0-beta: checksum mismatch        downloaded: h1:PamBMopnHxO2nEIsU89ibVVnqnXR2yFTgGNc+PdG68o=        go.sum:     h1:DnZGUjFbRkpytojHWwy6nfUSA7vFrzWXDLpFNzt74ZA= SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The…

Uncategorized

Windows find file recursive cmd

karlo Oct 15, 2019 0 Comments

dir *file*.* /s

Uncategorized

Track data usage using iptables

karlo Oct 12, 2019 0 Comments

iptables -I INPUT 1 -s 1.0.0.9 -j ACCEPT iptables -I OUTPUT 1 -d 1.1.2.2 -j ACCEPT iptables -Z #CLEARCOUNTERS

Uncategorized

Openvas service start timeout

karlo Oct 12, 2019 0 Comments

Make sure to kill all redis apt-get purge --auto-remove openvas* apt-get install openvas wait for background tasks to complete ( watch 'ps aux| grep -Ei vas|green|redis') run openvas-setup on kali:…

Uncategorized

Centos 8 enable cockpit (minimal install)

karlo Oct 11, 2019 0 Comments

yum install cockpit && systemctl enable --now cockpit.socket && sleep 4 && ss -nlap | grep 9090 >/dev/null 2>&1 && echo "https://$(hostname -i):9090/"

Uncategorized

Print ansible facts for a server

karlo Oct 11, 2019 0 Comments

ansible -m setup srv37.karloluiten.nl

Uncategorized

Centos 8 restart network

karlo Oct 11, 2019 0 Comments

use nmtui to restart an interface, that is easier ;)

Uncategorized

nc/netcat smtp servers (tcp/25) not responding to commands

karlo Oct 9, 2019 0 Comments

EHLO x.x no reply WHY?! Talking to windows servers? send a CRLF by starting NC with -C

Uncategorized

Libreoffice delete write protected content

karlo Oct 9, 2019 0 Comments

Tools > Options > LibreOffice Writer > Formatting Aids > Remove tick from Protecting Areas / Enable cursor.

Uncategorized

Kali/debian update one package only

karlo Oct 8, 2019 0 Comments

yum update nmap would just update nmap. Not apt... apt-get --only-upgrade install nmap

Posts navigation

1 2 3 … 8

« Previous Page — Next Page »

Posts

  • Nextcloud / php / apache no error for Internal Server Error March 19, 2023
  • Proxmox LXC container disk shrink March 19, 2023
  • Friendly (ionice/nice) rsync on remote server March 17, 2023
  • LVM commands not found March 17, 2023
  • T-Mobile Thuis werkende SMTP 2023 (Fix Relay access denied) March 14, 2023
  • Upgrade to debian11 from 10 March 10, 2023
  • Simple SSH backup of routeros / mikrotik March 8, 2023
  • Proxmox VLANs ‘on a stick’ March 7, 2023
  • T-Mobile thuis (NL) Routeros/Mikrotik-configuratie (met VLANs) March 3, 2023
  • Mikrotik routeros various findings February 26, 2023
  • jq unix timestamp to datetime January 11, 2023
  • Bash script template October 28, 2022
  • Hash file in windows October 6, 2022
  • Fix: acosh defined in both go and assembly August 4, 2022
  • Indent HTML using tidy June 20, 2022
  • Github what repos have you contributed to (graphql) May 16, 2022
  • Debian VM as GW routing through VPN (tun) with nftables April 7, 2022
  • Guacamole broken (Creation of WebSocket tunnel to guacd failed) January 24, 2022
  • mount LVM2_member September 4, 2021
  • List all ansible facts (facter puppet) February 21, 2021

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Posts

Uncategorized

Nextcloud / php / apache no error for Internal Server Error

Proxmox

Proxmox LXC container disk shrink

CLI and tools Linux

Friendly (ionice/nice) rsync on remote server

Debian

LVM commands not found

🔐 Karlo Luiten

Think Evil, DO Good

Copyright © All rights reserved | Blogus by Themeansar.