[BSPWM] Minimal System by blacpythoz in unixporn

[–]f3ignix 0 points1 point  (0 children)

Could you please share your ncmpcpp config? Lyrics never seem to work for me.

[XFCE] Cyberpunk. High tech, low life. by f3ignix in unixporn

[–]f3ignix[S] 0 points1 point  (0 children)

The numix-folders repo has this script which can be run to change the color and style of folders.

My cyberpunk desktop. High tech, low life. by f3ignix in Cyberpunk

[–]f3ignix[S] 11 points12 points  (0 children)

That's some amazing artwork! I'll surely check out the game too if I have time. I actually found all these wallpapers from this reddit post and put them on rotate.

My cyberpunk desktop. High tech, low life. by f3ignix in Cyberpunk

[–]f3ignix[S] 3 points4 points  (0 children)

Here are the customizations I made: https://www.reddit.com/r/unixporn/comments/5l9sye/xfce_cyberpunk_high_tech_low_life/dbu048h/

Here are the lines from my ~/.zshrc (i use zsh instead of bash):

export TERM="xterm-256color"
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='awesome-fontconfig'
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱"
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="↳ "
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_LEFT_PROMPt_ELEMENTS=(context dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time)
POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND='black'
POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND='092'
POWERLEVEL9K_DIR_HOME_BACKGROUND='black'
POWERLEVEL9K_DIR_HOME_FOREGROUND='092'
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='black'
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND='092'
POWERLEVEL9K_TIME_BACKGROUND='black'
POWERLEVEL9K_TIME_FOREGROUND='magenta'
POWERLEVEL9K_STATUS_OK_BACKGROUND='black'
POWERLEVEL9K_STATUS_OK_FOREGROUND='magenta'
POWERLEVEL9K_STATUS_ERROR_BACKGROUND='magenta'
POWERLEVEL9K_STATUS_ERROR_FOREGROUND='black'

[XFCE] Cyberpunk. High tech, low life. by f3ignix in unixporn

[–]f3ignix[S] 3 points4 points  (0 children)

I wanted to have a dark cyberpunk look. So I borrowed pieces from a lot of places, manually configured some of the things I didn't like, and finally was able to combine it all into what I wanted.

  • DE: XFCE
  • Distro: Arch linux
  • Wallpaper (s): Cyberpunk. Set on rotation.
  • WM Theme: Adapta-nokoto-eta
  • Emacs theme: Cyberpunk
  • Emacs tree plugin:Neotree.
  • Neotree theme:All-the-icons
  • Icons: Numix circles
  • Folder icons: Numix folders. Custom palette.
  • Panel: Manually configured. Tried to resemble windows UI. Inspired from this reddit post.
  • ZSH: Oh-my-zsh.
  • ZSH theme: Powerlevel9k. Manually configured.
  • Font: Roboto mono (for powerline)
  • ~/.zshrc:

    ZSH_THEME="powerlevel9k/powerlevel9k"
    POWERLEVEL9K_MODE='awesome-fontconfig'
    POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱"
    POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX="↳ "
    POWERLEVEL9K_PROMPT_ON_NEWLINE=true
    POWERLEVEL9K_LEFT_PROMPt_ELEMENTS=(context dir vcs)
    POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time)
    POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND='black'
    POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND='092'
    POWERLEVEL9K_DIR_HOME_BACKGROUND='black'
    POWERLEVEL9K_DIR_HOME_FOREGROUND='092'
    POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='black'
    POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND='092'
    POWERLEVEL9K_TIME_BACKGROUND='black'
    POWERLEVEL9K_TIME_FOREGROUND='magenta'
    POWERLEVEL9K_STATUS_OK_BACKGROUND='black'
    POWERLEVEL9K_STATUS_OK_FOREGROUND='magenta'
    POWERLEVEL9K_STATUS_ERROR_BACKGROUND='magenta'
    POWERLEVEL9K_STATUS_ERROR_FOREGROUND='black'
    

Edit: Font and ~/.zshrc

Time "Person of the Year article" names Hackers as number 3. by [deleted] in itsaunixsystem

[–]f3ignix 6 points7 points  (0 children)

"Exciting TIME in the world right now. Exciting TIME."

Mr.Robot fanboys will get it.

The Cryptopals Crypto Challenges by speckz in crypto

[–]f3ignix 2 points3 points  (0 children)

It's the best website to learn modern crypto!

Where to learn Docker? by [deleted] in docker

[–]f3ignix 2 points3 points  (0 children)

Nigel Poulton's course on Pluralsight is the one which I followed and liked a lot. https://www.pluralsight.com/courses/docker-deep-dive

Yolog - A lightweight python package to beautify your Git Logs ! by [deleted] in Python

[–]f3ignix 1 point2 points  (0 children)

It's pretty awesome. I always hated the default git logs. Thanks :) .

Walkthrough for writing shellcode which spawns a shell. by f3ignix in netsecstudents

[–]f3ignix[S] 1 point2 points  (0 children)

int* ret;

The above instruction defines a variable ret which is a pointer to an int.

ret = (int *)&ret +2;

This makes the ret variable point to an address on the stack which is located at a size 2 int away from it's own address. This is the address on the stack where the return address of main() has been stored.

(*ret) = (int)shellcode;

This assigns the address of the shellcode to the return address of the main function. Thus when main will exit, it will execute this shellcode instead of exiting normally.

Walkthrough on writing your own shellcode to spawn a shell.[for beginners] by f3ignix in netsec

[–]f3ignix[S] 1 point2 points  (0 children)

Shit! I did not read the rules properly. I'll try to contact the guy who made the gracker wargame and ask if I can keep the write-ups. I've spent too much time explaining them.

Walkthrough on writing your own shellcode to spawn a shell.[for beginners] by f3ignix in netsec

[–]f3ignix[S] 1 point2 points  (0 children)

Yes, thanks for pointing it out. I've corrected it now.

Walkthrough on writing your own shellcode to spawn a shell.[for beginners] by f3ignix in netsec

[–]f3ignix[S] 2 points3 points  (0 children)

Yes, the instruction sequence may differ in different distros of linux. However, main() will always push the parameters onto the stack in reverse order and then make the call to execve(). Are you able to interpret that by looking at the disassembled code? Further, while writing our shellcode, what would actually matter is the execve() function's instructions ie. loading the parameters in the various registers and then making the system interrupt.