Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Bocharov committed Apr 23, 2020
1 parent 2e7b8c0 commit ec67a04
Show file tree
Hide file tree
Showing 10 changed files with 84 additions and 37 deletions.
25 changes: 13 additions & 12 deletions README.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File : README.org
# Created : <2016-11-16 Wed 00:51:06 GMT>
# Modified : <2020-01-31 Fri 22:31:46 GMT> Sharlatan
# Author : sharlatan
# Modified : <2020-4-23 Thu 10:04:14 BST>
# Author : #Rλatan
# Short : README-en

#+OPTIONS: num:nil
Expand Down Expand Up @@ -33,21 +33,22 @@ cix
├── org
├── README.org
├── README-ru.md
├── scripts
├── spices
├── tests
└── tutors

6 directories, 7 files
7 directories, 7 files
#+end_src


** Statistic
#+BEGIN_SRC sh :results value org replace :exports results
#+BEGIN_SRC sh :results value org :results output replace :exports results
./cix-stat.sh stat
#+END_SRC

#+RESULTS:
#+BEGIN_SRC org
#+begin_src org
Distribution per command:

QTY CMD PKG
Expand Down Expand Up @@ -75,10 +76,11 @@ QTY CMD PKG
3 xargs gnu-findutils
3 udevadm systemd
3 ssh openssh
3 ssh-keygen openssh
3 ps procps-ng
3 dpkg dpkg
2 wget wget
2 tee gnu-coreutils
2 ssh-keygen openssh
2 sort gnu-coreutils
2 rsync rsync
2 objdump gnu-binutils
Expand All @@ -102,7 +104,6 @@ QTY CMD PKG
1 rm gnu-coreutils
1 rev util-linux
1 pwd gnu-coreutils
1 ps procps-ng
1 printf gnu-bash
1 pkill procps-ng
1 ping iputils
Expand Down Expand Up @@ -143,9 +144,10 @@ QTY PKG
18 sed
13 gnu-findutils
12 util-linux
6 openssh
7 openssh
6 iproute2
5 strace
5 procps-ng
5 pciutils
5 netcat
5 gnu-tar
Expand All @@ -156,7 +158,6 @@ QTY PKG
4 gnu-binutils
4 gnu-bash
4 curl
3 procps-ng
3 dpkg
2 wget
2 shadow-utils
Expand All @@ -180,6 +181,6 @@ QTY PKG

Distribution per example:

Onliners: 288
Scripts: 108
#+END_SRC
Onliners: 292
Scripts: 107
#+end_src
8 changes: 6 additions & 2 deletions cix-main.org
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,12 @@ on *GNU/Linux*
+ [[./spices/cix-dsniff.org][dsniff]] :: tools for network auditing and penetration testing: =GNU/Linux= =OpenBSD= =Solaris=
+ [[./spices/cix-ipset.org][ipset]] :: Manage Linux IP sets: =GNU/Linux=
+ [[./spices/cix-iptraf-ng.org][iptraf-ng]] :: a console-based network monitoring utility: =GNU/Linux=
+ [[./spices/cix-socat.org][socat]] :: bidirectional data relay between two data channels ('netcat++'): =GNU/Linux=
: + [[./spices/cix-socat.org][socat]] :: bidirectional data relay between two data channels ('netcat++'): =GNU/Linux=
+ [tshark] ::

+ [[./spices/cix-snort.org][snort]] ::
+ [suricata] ::
+ [zink] ::

- *Shell* /Not just sand.../
+ [[file:./spices/cix-ash.org][ash]] :: Almquist SHell in NetBSD
+ [[./spices/cix-gnu-bash.org][bash]] :: GNU bash shell built in commands
Expand Down Expand Up @@ -228,6 +231,7 @@ on *GNU/Linux*
+ [apparmor] :: is a Mandatory Access Control (MAC)
+ [rkhunter] ::
+ [yara] ::
+ [[file:./spices/cix-openssl.org][openssl]] :: Utilities from the general purpose cryptography library with TLS implementation
+ [seccomp] ::
+ [[file:./spices/cix-lynis.org][lynis]] :: security and system auditing tool: =GNU/Linux= =OS-X= =FreeBSD= =OpenBSD= =Solaris= =AIX= =HP-UX= =NetBSD=
+ [[file:./spices/cix-pam.org][pam]] :: an extensible library which provides authentication for applications: =AIX= =DragonFly-BSD= =FreeBSD= =HP-UX= =GNU/Linux= =OS-X= =NetBSD= =Solaris=
Expand Down
2 changes: 1 addition & 1 deletion cix-stat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# File : cix-stat.sh
# Created : <2016-11-20 Sun 21:59:18 GMT> sharlatan
# Modified : <2018-8-30 Thu 22:57:49 BST> Sharlatan
# Author : sharlatan <[email protected]>
# Author : #Rλatan
# Short : Show statistic of examples.


Expand Down
2 changes: 1 addition & 1 deletion spices/cix-busybox.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File : cix-busybox.org • spices
# Created : <2016-11-07 Mon 21:06:33 GMT>
# Modified : <2017-9-03 Sun 21:50:16 BST> sharlatan
# Author : sharlatan <[email protected]>
# Author : #Rλatan
# Sinopsis : Statically linked binary providing simplified versions of system commands.

#+OPTIONS: num:nil
Expand Down
24 changes: 12 additions & 12 deletions spices/cix-git.org
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File : cix-git.org
# Created : <2017-08-28 Mon 22:17:29 BST>
# Modified : <2018-8-09 Thu 18:56:23 BST> Sharlatan
# Modified : <2020-02-11 Tue 21:39:35 GMT>
# Author : sharlatan
# Maintainer(s) :
# Sinopsis : Fast Version Control System
Expand All @@ -9,14 +9,14 @@

[[file:../README.org*Index][|≣|]]
#+TITLE: git
| | |
|-----------------+------------------|
| *Author* | Linus Torvalds |
| *Maintainer(s)* | |
| *Released* | 2005 |
| *Source* | [[https://github.com/git/git][git.git]] |
| *Homepage* | [[https://git-scm.com/about][git.web]] |
|-----------------+------------------|
| | |
|-----------------+--------------------|
| *Author* | Linus Torvalds |
| *Maintainer(s)* | |
| *Released* | 2005 |
| *Source* | [[https://github.com/git/git][git.git]] |
| *Homepage* | [[https://git-scm.com/about][git.web]] |
|-----------------+--------------------|

Git is a free and open source distributed version control system designed to
handle everything from small to very large projects with speed and efficiency.
Expand All @@ -25,13 +25,13 @@ handle everything from small to very large projects with speed and efficiency.
* Receipts
** git
*** git::examples
**** git-170828222035
**** git-170828222035
list top 10 contributers to the project:
: ~$ git log --format='%aN' | sort | uniq -c | sort -rn | head

**** git-180628235119
**** git-180628235119
list top 10 version tags:
: ~$ git tag | sort -Vr | head
: ~$ git tag | sort -Vr | head

**** git-180808223805
list files are being tracked:
Expand Down
6 changes: 5 additions & 1 deletion spices/cix-openssh.org
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,16 @@ upload public key to remote host:
*** ssh-keyscan::see-also

** ssh-keygen
*** ssh-keygen::options
*** ssh-keygen::examples
**** ssh-keygen-181017005336
: ~$ ssh-keygen -l -f ~/.ssh/id_rsa.pub
**** ssh-keygen-181227084529
generate long RSA key with specified email address:
: ~$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
: ~$ ssh-keygen -t rsa -b 4092 -C "[email protected]"
**** ssh-keygen-200318002105
more specific and automated key generation
: ~$ ssh-keygen -t rsa -b 4092 -f ~/.ssh/key-name-rsa -C "some comments"
* References
** RFC
- https://www.openssh.com/specs.html
Expand Down
28 changes: 28 additions & 0 deletions spices/cix-openssl.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# File : cix-openssl.org
# Created : <2020-3-24 Tue 11:31:34 GMT>
# Modified : <2020-3-24 Tue 11:33:27 GMT>
# Author : sharlatan
# Maintainer(s) :
# Sinopsis : <>

#+OPTIONS: num:nil

[[file:../cix-main.org][|≣|]]
#+TITLE: OpenSSL
|------------------+---|
| *Author* | |
| | |
| | |
| | |
| | |
| | |
| | |
| *Contributor(s)* | |
| *Released* | |
| *Source* | |
| *Homepage* | |
|------------------+---|

-----
* Index
* Receipts
20 changes: 15 additions & 5 deletions spices/cix-procps-ng.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File : cix-procps-ng.org
# Created : <2015-11-02 Tue 01:14:54 GMT>
# Modified : <2018-9-30 Sun 21:06:34 BST> Sharlatan
# Author : sharlatan
# Modified : <2020-4-23 Thu 09:36:52 BST>
# Author : #Rλatan
# Sinopsis : System and process monitoring utilities.

#+OPTIONS: num:nil
Expand All @@ -28,7 +28,7 @@ status of entries in its process table.
#+END_SRC

#+RESULTS:
#+BEGIN_SRC org
#+begin_src org
| CMD | MAN | DESCRIPTION |
| free | (3) | allocate and free dynamic memory |
| free | (1) | Display amount of free and used memory in the system |
Expand All @@ -50,9 +50,9 @@ status of entries in its process table.
| w | (1) | Show who is logged on and what they are doing. |
| watch | (1) | execute a program periodically, showing output fullscreen |
| pidof | (1) | find the process ID of a running program. |
| sysctl | (8) | configure kernel parameters at runtime |
| sysctl | (2) | read/write system parameters |
#+END_SRC
| sysctl | (8) | configure kernel parameters at runtime |
#+end_src

* Receipts
** free
Expand Down Expand Up @@ -120,6 +120,16 @@ kill all process of the USER and remove it from the system:
**** ps-180930203726
list top 10 most memory hungry processes:
: ~$ ps axo rss,pid | sort -k1rn | head

**** ps-200423091940
list top 10 most CPU hungry processes:
: ~$ ps aux | sort -nrk 3,3 | head
: ~$ ps axo %cpu,user,pid,command | sort -r | head

**** ps-200423092739
list sorted list of users with number of running processes:
: ~$ ps axo user | sort | uniq -c | sort -rn

*** ps::files
*** ps::see-also
kill(1), pgrep(1), pkill(1), procstat(1), w(1), kvm(3), libxo(3), strftime(3),
Expand Down
4 changes: 2 additions & 2 deletions spices/cix-psmisc.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# File : cix-psmisc.org
# Created : <2016-01-25 Mon 22:28:37 GMT>
# Modified : <2017-12-20 Wed 23:05:59 GMT> Sharlatan
# Author : sharlatan
# Modified : <2020-4-23 Thu 09:17:22 BST>
# Author : #Rλatan
# Maintainer(s) :
# Sinopsis : Utilities for managing processes on your system

Expand Down
2 changes: 1 addition & 1 deletion spices/cix-scapy.org
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
| *Maintainer(s)* | |
| *Released* | 2003 |
| *Source* | [[https://github.com/secdev/scapy][scapy.git]] |
| *Homepage* | [[http://www.secdev.org/projects/scapy/][scapy.weg]] |
| *Homepage* | [[http://www.secdev.org/projects/scapy/][scapy.web]] |
|-----------------+-------------------|
Scapy is a powerful Python-based interactive packet manipulation program and
library.
Expand Down

0 comments on commit ec67a04

Please sign in to comment.