Home page logo
/

pauldotcom logo PaulDotCom mailing list archives

Re: Recommendations for a Linux tool-writing approach?
From: Jamil Ben Alluch <jamil () autronix com>
Date: Tue, 3 Dec 2013 07:16:42 -0500

Hello Glen,

I think your situation is more about improving programming skills rather
than linux skills in the context you are offering; the only real difference
between a C/C++/Java and Perl/Python/Ruby is that the former are compiled
and the latter (scripts) are interpreted. The development approach will be
the same in both cases; in fact some scripts can become really complex -
Metasploit is a good example (written in Ruby with some C extensions).

On the Linux side, what you'll be looking at when doing the development of
your scripts are more of system calls and run/parse commands and their
outputs. I would try getting familiar with those and the general structure
of how Unix systems run.

As far as the languages are concerned, shell script while quite powerful is
limited in comparison with Perl/Python/Ruby. As far as choosing one, it's
more of a matter of preference on the developer's part, as they each have
their on particularities, but the same results can be achieved with any of
those. Perl and Python are a somewhat similar, while Ruby is a bit of a
different approach to the language from traditional programming. If you've
never done programming, I'd give Ruby a try.

For UIs I would direct you to either Ruby or Python and use a web app
approach (Ruby on Rails or Django). I am personally not a fan of native UI
applications, so I'd rather do web applications, however, they both have
extensions allowing you to develop in Qt or Tk for graphical interfaces.

Hope this helps.

Best Regards

ᐧ

--
Jamil Ben Alluch, B.Ing., GCIH
<http://www.autronix.com>
jamil () autronix com
+1-819-923-3012


On Sat, Nov 30, 2013 at 8:43 AM, Glen Roberts <glenroberts () me com> wrote:

Any recommendations for a Linux tool-writing approach? I am more of a
scripting guy than a programmer but I want to take it to the next level.

For context, I need to write a few SANS gold papers for the Masters
program and want to author some Linux tools related to the papers I write
(subjects to be determined). I’m looking at this as an opportunity to
improve my intermediate Linux skills while also adding some programming
skills. I’m thinking of going with straight-up bash and maybe use some
Python, Ruby or Perl but I would love to get some ideas from some of you
experts before diving in. It would be great to learn how to make a UI that
can run various back-end scripts.

Thanks in advance for your help.


Glen Roberts, CISSP
@InternetGeneral
glenroberts () me com


_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]