1,342 reputation
513
bio website f-hauri.ch
location Switzerland
age 49
visits member for 2 years, 1 month
seen 16 hours ago

I'm an old open-source independent hacker,

concerned about concepts of ethical hacking, teaching and sharing.

I like to play with shell, perl, lisp (sometime), sed and lot of other languages/environments.

Co-system administrator in several configurations, after various SMEs, I like to sometimes take time to focus on methods that I can improve or re-create (for example to change the level of abstraction).

In this, surfing on differents StackExchange's sites is a good way to boost my inspiration!


Dec
3
comment Recent change causes Shift+Space to do nothing
Yes, some programs do a keyboard re-mapping when focus switch in or out of them... This happen with remote control apps, like vncviewer or virtual machines like KVM... Some games could make same effects. My solution was to store my keyboard function into a dedicated shell script, which I run simply each times something goes wrong.
Nov
26
comment Recent change causes Shift+Space to do nothing
@NaftuliTzviKay Did you try the last command: xmodmap -e 'keycode 65 = space space space space' (or maybe with only one space)?
Nov
24
answered Recent change causes Shift+Space to do nothing
Nov
22
awarded  Yearling
Oct
16
awarded  Necromancer
Sep
30
awarded  Explainer
Jul
30
comment Can I find out which ssh key was used to access an account?
@godlygeek I really thank you: your comment was upvoted and my answer edited. This was a real bug I never seen because I don't make a lot of connections and have not a lot of users connecting through ssh... I use this in prod for storing separate bash history for each sessions (have a look on comments on my answer;).
Jul
29
revised Can I find out which ssh key was used to access an account?
Bug correction about first instead last fingerprint in logfile
Jul
29
comment Can I find out which ssh key was used to access an account?
@godlygeek Oh yes! I have better to whipe q directive, store line until end of file... sed line become: sed -ne "/sshd.$PPID.:.*matching DSA key/{s/^.* //g;h};\${x;p}" /var/log/auth.log . Definitively: I Love sed!
Jul
20
awarded  Autobiographer
Jul
5
revised How to adjust time command to measure a program elapsed time
added 292 characters in body
Jun
9
awarded  Caucus
May
9
comment Can I find out which ssh key was used to access an account?
This is linked to Record bash_history to private database for all users
May
8
comment find command throws errors when inside function
My running version work same as your, but permit the use of more than one path to browse into.
May
8
comment find command throws errors when inside function
@steeldriver I think the problem is reverse: There too much quotes.
May
8
comment find command throws errors when inside function
Stop playing with quotes, while using bash arrays. See my answer!
May
8
comment find command throws errors when inside function
echo is not well for this, use declare -p VARNAME for looking into a variable.
May
8
revised find command throws errors when inside function
added 563 characters in body
May
7
comment find command throws errors when inside function
Please see my edit.
May
7
revised find command throws errors when inside function
added 527 characters in body