zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Generate self-signed certificate

February 4, 2011 by Igor Drobot Leave a Comment

Quick and easy – generate self-signed certificate in one line:

1
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt

openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -keyout ipv6.mysql.idrobot.net.key -out ipv6.mysql.idrobot.net.crt

Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:Niedersachsen
Locality Name (eg, city) []:Hannover
[Internet Widgits Pty Ltd]:ipv6.mysql.idrobot.net
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:Igor Drobot
Email Address []:id@drobot.de

Filed Under: Bash, HTTP, Linux Tagged With: generate cert, OpenSSL

Parse kernel.org changelogs

February 4, 2011 by Igor Drobot Leave a Comment

Parsing kernel orgs changelogs can be a pain.

Here’s a handy one-liner to make it easier to read:

1
wget --quiet -O - http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.37 | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--"

wget --quiet -O - http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.37 | grep -A 4 ^commit | grep -B 1 "^--" | grep -v "^--"

You should become human readable output like this one:

1
2
3
4
5
6
7
    perf: Remove unused variable
    x86, bios: By default, reserve the low 64K for all BIOSes
    mlx4_en: Fix build warning in mlx4_en_create_rx_ring.
    mlx4_en: updated driver version
    mlx4_en: Moving to work with GRO
    mlx4_en: UDP RSS support
    mlx4_en: reconfiguring mac address.

perf: Remove unused variable x86, bios: By default, reserve the low 64K for all BIOSes mlx4_en: Fix build warning in mlx4_en_create_rx_ring. mlx4_en: updated driver version mlx4_en: Moving to work with GRO mlx4_en: UDP RSS support mlx4_en: reconfiguring mac address.

Filed Under: Bash, Debian, Kernel, Linux Tagged With: kernel.org, parsing

Two great signals

February 4, 2011 by Igor Drobot Leave a Comment

The best uses I’ve found for the SIGSTOP and SIGCONT signals are times when a process goes haywire, or when a script spawns too many processes at once.

Usage Examples for both signals:

1
2
kill -SIGSTOP [pid]
kill -SIGCONT [pid]

kill -SIGSTOP [pid] kill -SIGCONT [pid]

[Read more…]

Filed Under: Bash, Debian, Linux Tagged With: kill, sigcon, sogstop

Second chance: etckeeper

February 1, 2011 by Igor Drobot Leave a Comment

Etckeeper is a useful tool to store /etc in a version control system. It allows you to read the changes that have been made to the files in /etc, document these changes and recover a previous version of a modified file in case we made some changes that we don’t want to keep. It’ s a great system to control your server and find very quickly solutions.

Its installation is very trivial:

1
aptitude install etckeeper

aptitude install etckeeper

[Read more…]

Filed Under: Bash, Debian, Linux Tagged With: Etckeeper, GIT

How to Bruteforce SSH

January 30, 2011 by Igor Drobot 17 Comments

SSH is an acronym which stands for Secure SHell, which provides a secure shell access to a remote machine.

This brut force tool is great to test some security stuff like iptables or sshguard.

You are able to see the proceeder of real hacking attempt.

Like most brute forcing tools, you’ll first need a pretty big passlist. You can get one from here:

1
wget https://zeldor.biz/other/bruteforce/passlist.txt

wget https://zeldor.biz/other/bruteforce/passlist.txt

[Read more…]

Filed Under: Bash, Debian, Linux, Networking Tagged With: hacking, SSH Brute force, SSH Security

  • « Previous Page
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • …
  • 11
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok