LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Concerning free software, programming, and whatever else I find interesting. Also the blog for my Web site, frigidcode.com.
Old

Security issues in opening an archive

Posted 01-17-2012 at 11:21 PM by hydraMax (Bits and Pixels)
Updated 01-17-2012 at 11:23 PM by hydraMax (typo)

I've personally opened hundreds (thousands?) of compressed archives -- tar, zip, and otherwise -- without even thinking of the possibility security ramifications of this action. However, extracting files (insecurely) from any archive has potentially two very dangerous effects:

1. overwriting a file that should not be overwritten
2. placing a file in a location you did not expect

These of course are most deadly in combination. The bsdtar manual page has a helpful...
Member
Posted in Uncategorized
Views 317 Comments 0 hydraMax is offline
Old

See source code intermixed with assembly

Posted 01-16-2012 at 04:25 AM by hydraMax (Bits and Pixels)

Maybe everybody else already knows this, but I thought it was pretty neat anyway:

If you compile some C code with -g option (to include debugging symbols), you can then use objdump on the binary, with the -S switch, to get source code intermixed with assembly. For example, here is a snippet from one of my binaries:

Code:
int main() {
  401163:       55                      push   %rbp
  401164:       48 89 e5                mov    %rsp,%rbp
  401167:
...
Member
Posted in Uncategorized
Views 618 Comments 0 hydraMax is offline
Old

Planets

Posted 01-06-2012 at 08:56 PM by hydraMax (Bits and Pixels)

I uploaded some planet images I created using techniques from Gimp tutorials. (link, link). It is a lot of fun to create planets and I'd like to create a lot more in the future. I also updated my Xinequery code, adding a Gentoo ebuild, plus some functionality that should make it a little more useful.
Member
Posted in Uncategorized
Views 332 Comments 0 hydraMax is offline
Old

two uploads

Posted 12-23-2011 at 08:10 PM by hydraMax (Bits and Pixels)

Added a 3D apple rendering I made following a tutorial. (link) Also uploaded a small C program, useful for querying Xinerama. (link)
Member
Posted in Uncategorized
Views 332 Comments 0 hydraMax is offline
Old

Introductions

Posted 12-20-2011 at 09:41 PM by hydraMax (Bits and Pixels)

Hello. My user name at LQ is "hydraMax", but my real name is Christopher. If you wish to communicate with me, I have private messaging enabled. If you wish to communicate with me outside of LQ, send me a private message and we can exchange e-mail addresses.

I'm hoping to use this blog primarily to draw attention to the work I do and the projects with which I'm involved, usually available at my Web site, frigidcode.com. What do I do? Well, it is hard to summarize because...
Member
Posted in Uncategorized
Views 325 Comments 0 hydraMax is offline

  



All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration