- 1
How much is programming usefull in penetration testingš¤
Sure it gives us a better understanding of the system but is it directly interelated, + which language is the best for pentration testing,which can be used side by side with for eg.kali linux
3 Answers
+ 2
Python or Ruby are commonly used in pentesting for creating your own tools.
The other side of learning programming languages for pentesting is that you are going to look at applications written in those languages. In this case all depends on what apps you are starting with.
And no, you will not do well with just JS.
1
HTML
Language used to write web pages.
Web hacking
Login forms and other data entry methods on the web use HTML forms to get data. Been able to write and interpret HTML, makes it easy for you to identify and exploit weaknesses in the code.
2
JavaScript
Client side scripting language
Web Hacking
JavaScript code is executed on the client browse. You can use it to read saved cookies and perform cross site scripting etc.
3
PHP
Server side scripting language
Web Hacking
PHP is one of the most used web programming languages. It is used to process HTML forms and perform other custom tasks. You could write a custom application in PHP that modifies settings on a web server and makes the server vulnerable to attacks.
4
SQL
Language used to communicate with database
Web Hacking
Using SQL injection, to by-pass web application login algorithms that are weak, delete data from the database etc.
5
Python
Ruby
Bash
Perl
High level programming languages
Building tools & scripts
They come in handy when you need to develop automation tools and scripts. The knowledge gained can also be used in understand and customization the already available tools.
6
C & C++
High level programming
Writing exploits, shell codes etc.
They come in handy when you need to write your own shell codes, exploits, root kits or understanding and expanding on existing ones.
7
Java
CSharp
Visual Basic
VBScript
Other languages
Other uses
The usefulness of these languages depends on your scenario
source:
https://www.quora.com/Which-programming-languages-are-best-for-doing-pentesting
0
Depending on the type of penetration testing, you might non need programming skills at all
0
ā