Author Topic: Best langauge for coding 0day exploits???  (Read 2105 times)

0 Members and 1 Guest are viewing this topic.

Offline Cylar

  • /dev/null
  • *
  • Posts: 8
  • Cookies: -4
    • View Profile
Best langauge for coding 0day exploits???
« on: March 29, 2015, 06:01:11 am »
Hello i was wondering what programming langauge is best for coding exploits.

I know this is probably asked alot but people say one thing then another all the time

I know that python is great for coding hacking tools but for 0day exploits its all right was just wondering
if there was another thanks and sorry for the short thread.

Offline cyberdrifter

  • Knight
  • **
  • Posts: 176
  • Cookies: -90
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #1 on: March 29, 2015, 06:50:44 am »
Hello i was wondering what programming langauge is best for coding exploits.

I know this is probably asked alot but people say one thing then another all the time

I know that python is great for coding hacking tools but for 0day exploits its all right was just wondering
if there was another thanks and sorry for the short thread.
For general scripting python is awesome, easy to use and expand on. But it's a higher level language.



For writing 0-day exploits I'd say go with C, since memory management is left mostly to the programmer which means it's usually the one most prone to memory exploits (ie: buffer and stack overflows, etc).

.- / .-.. .. - - .-.. . / -... . - - . .-. --..-- / . ...- . .-. -.-- / -.. .- -.-- .-.-.-
Go ahead tubby, you clearly want/need those cookies more than me.  :P

KingCasra

  • Guest
Re: Best langauge for coding 0day exploits???
« Reply #2 on: April 10, 2015, 03:32:16 am »
You don't code 0day's, you find them and code scripts to exploit them. And I would use Python or Asm

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #3 on: April 10, 2015, 01:41:56 pm »
Highly depends on the vulnerability. One wouldn't code an exploit for a SQL injection in ASM.
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline Xires

  • Noob Eater
  • Administrator
  • Knight
  • *
  • Posts: 379
  • Cookies: 149
    • View Profile
    • Feed The Trolls - Xires
Re: Best langauge for coding 0day exploits???
« Reply #4 on: April 10, 2015, 02:14:31 pm »
Highly depends on the vulnerability. One wouldn't code an exploit for a SQL injection in ASM.

Some of us might...just to be dicks. ;-P

@OP:
Historically, you use whatever you deem best to make the exploit as useful as possible.  An exploit coded in C may work wonderfully and quickly, but Python might make it easier to use on a target system.  PHP is fine for something that's quick & dirty but Ruby might be used instead to add it to an existing arsenal.  It really just depends on the situation.
-Xires

Offline M4lwar3

  • /dev/null
  • *
  • Posts: 12
  • Cookies: -1
  • I can ping you to DEATH!
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #5 on: April 11, 2015, 06:54:21 pm »
it really depends, but usually python or C++ will be good...
7b24d30c7c6da318d2e5465c9673a140

Offline ISLR

  • NULL
  • Posts: 2
  • Cookies: 0
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #6 on: April 13, 2015, 09:15:09 pm »
Python with C_types. Or Pearl.

Offline kenjoe41

  • Symphorophiliac Programmer
  • Administrator
  • Baron
  • *
  • Posts: 990
  • Cookies: 224
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #7 on: April 13, 2015, 10:59:46 pm »
If you can't explain it to a 6 year old, you don't understand it yourself.
http://upload.alpha.evilzone.org/index.php?page=img&img=GwkGGneGR7Pl222zVGmNTjerkhkYNGtBuiYXkpyNv4ScOAWQu0-Y8[<NgGw/hsq]>EvbQrOrousk[/img]

Spacecow

  • Guest
Re: Best langauge for coding 0day exploits???
« Reply #8 on: April 17, 2015, 07:11:35 am »
Python with C_types. Or Pearl.

I love me a fresh pearl install on the open-oyster runtime. I'm so sorry, I just had to. I will go now...

Offline Plasma

  • Serf
  • *
  • Posts: 20
  • Cookies: 2
  • U shall not passssssss
    • View Profile
Re: Best langauge for coding 0day exploits???
« Reply #9 on: April 18, 2015, 09:25:28 pm »
The answer is simple, its either python or C++. These are the best I know for coding exploits but don't quote me on that because I'm not that experienced with writing exploits.
"A dick has a sad life. His hair is a mess; his family is nuts; his next-door neighbor is an asshole; his best friend is a pussy, and his owner beats him habitually."
-Obama

Offline sh4d0w_w4tch

  • Peasant
  • *
  • Posts: 73
  • Cookies: -1
  • Please do not feed the skids.
    • View Profile
    • 6c.nz
Re: Best langauge for coding 0day exploits???
« Reply #10 on: April 21, 2015, 09:17:14 pm »
You don't "code the exploit" unless you were putting a backdoor into software.  You find a 0 day vuln. and then write a program that can exploit it in an automated way to reduce the amount of work that pen testers would do themselves.

For example, if there's an SQL injection vulnerability in a WordPress plugin, you might write a Python script that would take  the location of the WordPress installation as input from the user and then automatically send the proper query to the vulnerable page.  It could include a series of options for doing things like dumping user info or creating a web shell.
DeepCopy | Can you name a VPN provider that's like "hey use our services to hack government sites and spam the internet. Please Abuse our services"

+Polyphony | paging master hackers of evilzone: i am here to learn about your black hatted tools to hack different viruses like facebook, sql, php, and other ring zero exploits