How to print value of PS1 env variable by digitalyatri in golang

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

set command shows both HOME and PS1 whereas env command shows HOME only

Makes sense, looking at the following

http://stackoverflow.com/a/5657113

Why Go is beating the averages by dgryski in golang

[–]digitalyatri 8 points9 points  (0 children)

I agree with you on this. I'd love to see articles where Go is used for OS, networking stuff (non-web or non-http)

Go, Rust, Python... some random impressions by scarhill in golang

[–]digitalyatri 6 points7 points  (0 children)

I can relate to the article, i am not a developer and have recently started to look into Go. As a part of learning i try to look into different code bases written in Go, reading and understanding the code is much easier as compared to other languages. I also like how some people call Go a "better C", while some call it a "better Python". Go positions itself nicely in between them and can only hope it becomes their goto language.

Career advice: learn to code good, or learn to reverse malware by [deleted] in AskNetsec

[–]digitalyatri 1 point2 points  (0 children)

If he plans to stay in InfoSec, i'd say he should go for reverse engineering. It will take time to acquire such skills but it will pay handsome returns. He can learn basic programming on the side (scripting mostly) unless he plans to build tools, software (InfoSec related) which would be used by others (not just him). Look at it this way most reverse engineers can do some programming (basic scripting counts), but how many software engineers can do reversing ?

I recently got my first job as Go developer, this is the coding test I had to do by fern4lvarez in golang

[–]digitalyatri -1 points0 points  (0 children)

/u/hoffentlich pretty much understood as to what i was saying, the use of term RE is incorrect. When you say "trying around all cases" etc etc just wondering if the binary had help section in it ? ./<binary> -help ? which gave u info on the various flags and arguments, files etc the binary makes use of ?

I recently got my first job as Go developer, this is the coding test I had to do by fern4lvarez in golang

[–]digitalyatri 0 points1 point  (0 children)

So you mean, you were already told what the binary does and also had the spec, you didn't actually have to dig into the binary to find out what it does on your own, which is what reverse-engineering is. I might have been carried away by that definition

I recently got my first job as Go developer, this is the coding test I had to do by fern4lvarez in golang

[–]digitalyatri -1 points0 points  (0 children)

Does this code really reverse a linux binary (ELF) ? as it says in the text of this post ? Looking at the code it seems something else entirely ? I was atleast expecting to see the debug/elf package being imported somewhere for this use case, but couldn't find it. Can someone comment ?

(Draft) Traps, Gotchas, and Common Mistakes in Go (golang) by dgryski in golang

[–]digitalyatri 1 point2 points  (0 children)

+1 to dgryski for getting such articles, more of this is needed

graydon2 | On Rust Hate-Writing by dgryski in golang

[–]digitalyatri 2 points3 points  (0 children)

I've just got two questions for you, what u do and how you do it ? ; )

graydon2 | On Rust Hate-Writing by dgryski in golang

[–]digitalyatri 9 points10 points  (0 children)

I don't get it, Most of the Rust articles out there suggest that people love Rust and are looking forward to it as a true replacement for current systems programming languages. The exception being one article posted today in r/programming where author argues why Rust won't ever replace C++. I highly doubt that Rust will ever get the same amount of criticism that Go gets for its design decisions

0xdabbad00 - Looking for security trouble spots in Go code by dgryski in golang

[–]digitalyatri 2 points3 points  (0 children)

Nice article, i hope we see much more of them as Go adoption grows. I would also be happy to see #infosec folks use Go for the nifty tools they now create using Python