Is Python or Ruby good for penetration testing?

I heard that Python is very good for pentesting. It has good modules for this. But this is not a good structure like Metasploit.

+5
source share
4 answers

Any language that has good and convenient string processing functions is suitable for penetration testing. This is why you see scripting languages ​​as the most commonly used languages ​​in such tasks.

To answer your question, they are just as good.

+4
source

, Python Ruby - . , , . Metasploit Ruby, Python . Perl , . , CPAN ( , ). , . , Perl Ruby, Linux .

:

#!/usr/bin/perl -w

use strict;

my $user = `whoami`;
chomp($user); # usually there a newline character at the end of the output.
print "You are " . $user . "\n";

. Python - , .

milw0rm C - , script " ", .

: Ruby Python , , - Perl : -)

+5

, , c , , .

+1

C , , , python/ruby ​​ . , C , python/ruby, python/ruby ​​- , , C. , Python C/++ , PHP depent, , , , , ,

+1

All Articles