.

Perhl to P^yThÖñ

<<

O_o

Newbie
Newbie

Posts: 28

Joined: Fri Jul 22, 2011 12:57 pm

Post Thu Aug 11, 2011 11:41 pm

Perhl to P^yThÖñ

Is there any python 3 command similar to the perl/php fopen command?
If your computer speaks English, than it was probably made in Japan.
<<

lorddicranius

User avatar

Sr. Member
Sr. Member

Posts: 448

Joined: Thu Mar 03, 2011 3:54 am

Post Fri Aug 12, 2011 12:18 am

Re: Perhl to P^yThÖñ

Not that familiar with Perl or PHP, but a quick (<1min) Google search I found this:

http://www.php2python.com/wiki/function.fopen/

That help?
GSEC, eCPPT, Sec+
<<

O_o

Newbie
Newbie

Posts: 28

Joined: Fri Jul 22, 2011 12:57 pm

Post Fri Aug 12, 2011 8:48 am

Re: Perhl to P^yThÖñ

Yes sir it helped a lot!
Also do you have to use the hexidecimal form of the number and/or letter when writting an buffer overflow. Here's my script so far in python...

MyFile=(what do I put here the letter A or hexidecimal of A)×3000
open(MyFile)

ps. this is in python 3
If your computer speaks English, than it was probably made in Japan.
<<

lorddicranius

User avatar

Sr. Member
Sr. Member

Posts: 448

Joined: Thu Mar 03, 2011 3:54 am

Post Fri Aug 12, 2011 9:14 am

Re: Perhl to P^yThÖñ

Writing exploit is over my skill level, so we'll have to wait for somebody else to chime in :P
GSEC, eCPPT, Sec+
<<

cd1zz

User avatar

Recruiters
Recruiters

Posts: 566

Joined: Sun Oct 03, 2010 9:01 pm

Post Sun Aug 14, 2011 5:34 pm

Re: Perhl to P^yThÖñ

You can do either. For example:

buff = "A" * 1000

is the same thing as

buff = "\x41" * 1000

Just depends on what looks nice to you...

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software