Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3478 > unrolled thread
| Started by | <wisecracker@tesco.net> |
|---|---|
| First post | 2011-04-18 10:53 +0100 |
| Last post | 2011-04-18 11:56 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
Re: An unusual question... <wisecracker@tesco.net> - 2011-04-18 10:53 +0100
Re: An unusual question... Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-18 11:56 +0000
| From | <wisecracker@tesco.net> |
|---|---|
| Date | 2011-04-18 10:53 +0100 |
| Subject | Re: An unusual question... |
| Message-ID | <mailman.507.1303120383.9059.python-list@python.org> |
Hi Chris...
> It sounds to me like you're trying to pull off a classic buffer
> overrun and remote code execution exploit, in someone else's Python
> program. And all I have to say is.... Good luck to you.
Talking of nefarious usage...
I wonder what this would do left unchecked on a current machine and current Python install...
###
global somestring
somestring = " "
while 1:
#print somestring
somestring = somestring + " "
###
--
73...
Bazza, G0LCU...
Team AMIGA...
http://homepages.tesco.net/wisecracker/
http://main.aminet.net/search?readme=wisecracker
http://mikeos.berlios.de/
[toc] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2011-04-18 11:56 +0000 |
| Message-ID | <4dac26d5$0$29986$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #3478 |
On Mon, 18 Apr 2011 10:53:00 +0100, wisecracker wrote: > global somestring > somestring = " " You don't need to declare a name in the global scope as global. It just is global. -- Steven
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web