On Mar 9, 7:16 pm, Νίκος Γκρ33κ wrote:
> Is there a way to see anserws to my posts via ThunderBird that doesn't hve
> this formatting issue?
I had posted a suggestion to get back to 'old google groups' here.
Usually if you (can) switch to the old these problems vanish
http://mail.python.org/pip
Is there a way to see anserws to my posts via ThunderBird that doesn't hve this
formatting issue?
--
http://mail.python.org/mailman/listinfo/python-list
On 09/03/2013 07:56, Νίκος Γκρ33κ wrote:
Τη Σάββατο, 9 Μαρτίου 2013 7:05:08 π.μ. UTC+2, ο χρήστης Steven D'Aprano έγραψε:
On Fri, 08 Mar 2013 19:18:50 -0800, Νίκος Γκρ33κ wrote:
I agree with you but i wonder why the world would want to dedicate hours
for fiddling with my script? Why anyon
Τη Σάββατο, 9 Μαρτίου 2013 7:05:08 π.μ. UTC+2, ο χρήστης Steven D'Aprano έγραψε:
> On Fri, 08 Mar 2013 19:18:50 -0800, Νίκος Γκρ33κ wrote:
>
>
>
> > I agree with you but i wonder why the world would want to dedicate hours
>
> > for fiddling with my script? Why anyone should mess with my website
On Fri, 08 Mar 2013 19:18:50 -0800, Νίκος Γκρ33κ wrote:
> I agree with you but i wonder why the world would want to dedicate hours
> for fiddling with my script? Why anyone should mess with my website
> http://superhost.gr ?
What makes you think it would be hours? For somebody who knows what the
On 09/03/2013 03:17, Νίκος Γκρ33κ wrote:
Τη Σάββατο, 9 Μαρτίου 2013 2:18:42 π.μ. UTC+2, ο χρήστης Ian έγραψε:
So the -c is an option to Python. It means that instead of reading a
script, Python should run commands passed on the command line in the
next argument. That's the ''. It's empty, so
On 09/03/2013 03:18, Νίκος Γκρ33κ wrote:
Τη Παρασκευή, 8 Μαρτίου 2013 11:37:11 μ.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
There is NO WAY that you are the smartest or most devious person on
Earth. Also, the three hours that you put in are *nothing* compared to
the collective time that the re
Τη Σάββατο, 9 Μαρτίου 2013 2:18:42 π.μ. UTC+2, ο χρήστης Ian έγραψε:
> So the -c is an option to Python. It means that instead of reading a
> script, Python should run commands passed on the command line in the
> next argument. That's the ''. It's empty, so what this instructs
> Python is to d
Τη Παρασκευή, 8 Μαρτίου 2013 11:37:11 μ.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
> There is NO WAY that you are the smartest or most devious person on
> Earth. Also, the three hours that you put in are *nothing* compared to
> the collective time that the rest of the world will spend fiddling
Τη Σάββατο, 9 Μαρτίου 2013 2:26:56 π.μ. UTC+2, ο χρήστης Ian έγραψε:
> On Fri, Mar 8, 2013 at 1:31 PM, Νίκος Γκρ33κ wrote:
>
> > Thank you very much for pointing my flaws once again!
>
> >
>
> > I cant beleive how easy you hacked the webserver again and be able to read
> > my cgi scripts sourc
On Fri, Mar 8, 2013 at 1:31 PM, Νίκος Γκρ33κ wrote:
> Thank you very much for pointing my flaws once again!
>
> I cant beleive how easy you hacked the webserver again and be able to read my
> cgi scripts source and write to cgi-bin too!
>
> I have added extra security by following some of your ad
On Fri, Mar 8, 2013 at 1:54 PM, wrote:
> Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
> έγραψε:
>
>> >>> -c ''; rm -rf /; oops.py
>
>> Please don't tell the newbies to destroy their system, no matter how
>> tempting it might be.
>
> What that "-c ''" options i keep
On 03/08/2013 12:54 PM, nagia.rets...@gmail.com wrote:
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
-c ''; rm -rf /; oops.py
Please don't tell the newbies to destroy their system, no matter how
tempting it might be.
What that "-c ''" options i keep se
On Sat, Mar 9, 2013 at 7:31 AM, Νίκος Γκρ33κ wrote:
> I cant beleive how easy you hacked the webserver again and be able to read my
> cgi scripts source and write to cgi-bin too!
>
> I have added extra security by following some of your advice, i wonder if
> youc an hack it again!
>
> Fell free
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
> >>> -c ''; rm -rf /; oops.py
> Please don't tell the newbies to destroy their system, no matter how
> tempting it might be.
What that "-c ''" options i keep seeing in the attempts to pass bogus info in
my 'pa
Τη Παρασκευή, 8 Μαρτίου 2013 10:01:59 μ.μ. UTC+2, ο χρήστης Ian έγραψε:
> On Fri, Mar 8, 2013 at 12:19 PM, wrote:
>
> > I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>
> >
>
> > I made it unhackable i believe!
>
> >
>
> > I'am testing it myself 3 hours now and find
On Fri, Mar 8, 2013 at 1:01 PM, Ian Kelly wrote:
> On Fri, Mar 8, 2013 at 12:19 PM, wrote:
>> I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>>
>> I made it unhackable i believe!
>>
>> I'am testing it myself 3 hours now and find it safe!
>>
>> Please feel free to try al
On Fri, Mar 8, 2013 at 12:19 PM, wrote:
> I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>
> I made it unhackable i believe!
>
> I'am testing it myself 3 hours now and find it safe!
>
> Please feel free to try also!
Okay, done. I was still able to read your source file
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
> On Fri, 08 Mar 2013 04:55:07 +0100, Vito De Tullio wrote:
>
>
>
> > Νίκος Γκρ33κ wrote:
>
> >
>
> >>> -c ''; rm -rf /; oops.py
>
> >>
>
> >> Yes its being pulled by http request!
>
> >>
>
> >> But plea
On Fri, 08 Mar 2013 04:55:07 +0100, Vito De Tullio wrote:
> Νίκος Γκρ33κ wrote:
>
>>> -c ''; rm -rf /; oops.py
>>
>> Yes its being pulled by http request!
>>
>> But please try to do it, i dont think it will work!
>
> try yourself and tell us what happened
That's not very nice.
Please don't
I must thank the tester of my webisites's security!
He hacked it nicely and easily through tampering with 'htmlpage' variable's
value!
Now i'am validating htmlpage's input value and i don't beleive its hackable any
more!
Please feel free to try whoever want to!
Thnk you all for your patience
On Fri, Mar 8, 2013 at 5:56 PM, Νίκος Γκρ33κ wrote:
> Someone with ip of:
>
> dslb-188-108-250-211.pools.arcor-ip.net Windows Opera 1 2013-03-08
> 03:19:18
>
> as my cgi script tells me.
>
> i think it was Chris Angelico :-)
Nope, not me. As you'll be able to confirm in any number of way
Τη Παρασκευή, 8 Μαρτίου 2013 5:55:07 π.μ. UTC+2, ο χρήστης Vito De Tullio
έγραψε:
> Νίκος Γκρ33κ wrote:
>
>
>
> >> -c ''; rm -rf /; oops.py
>
> >
>
> > Yes its being pulled by http request!
>
> >
>
> > But please try to do it, i dont think it will work!
>
>
>
> try yourself and tell us
Τη Παρασκευή, 8 Μαρτίου 2013 5:55:07 π.μ. UTC+2, ο χρήστης Vito De Tullio
έγραψε:
> Νίκος Γκρ33κ wrote:
>
>
>
> >> -c ''; rm -rf /; oops.py
>
> >
>
> > Yes its being pulled by http request!
>
> >
>
> > But please try to do it, i dont think it will work!
>
>
>
> try yourself and tell us
Νίκος Γκρ33κ wrote:
>> -c ''; rm -rf /; oops.py
>
> Yes its being pulled by http request!
>
> But please try to do it, i dont think it will work!
try yourself and tell us what happened
--
ZeD
--
http://mail.python.org/mailman/listinfo/python-list
Τη Πέμπτη, 7 Μαρτίου 2013 10:15:11 μ.μ. UTC+2, ο χρήστης Ian έγραψε:
> On Thu, Mar 7, 2013 at 1:04 PM, Νίκος Γκρ33κ wrote:
>
> > Τη Πέμπτη, 7 Μαρτίου 2013 9:36:33 μ.μ. UTC+2, ο χρήστης Joel Goldstick
> > έγραψε:
>
> >
>
> >> So, I see you fixed the problem. How?
>
> >
>
> > Apart from appe
On Thu, Mar 7, 2013 at 1:04 PM, Νίκος Γκρ33κ wrote:
> Τη Πέμπτη, 7 Μαρτίου 2013 9:36:33 μ.μ. UTC+2, ο χρήστης Joel Goldstick έγραψε:
>
>> So, I see you fixed the problem. How?
>
> Apart from appearing ugly its not causing any more trouble(other than some
> issues that i have fixed), so i will j
Τη Πέμπτη, 7 Μαρτίου 2013 9:36:33 μ.μ. UTC+2, ο χρήστης Joel Goldstick έγραψε:
> So, I see you fixed the problem. How?
Apart from appearing ugly its not causing any more trouble(other than some
issues that i have fixed), so i will just d:
os.system( 'python %s > %s' % (htmlpage, temp)
On Thu, Mar 7, 2013 at 1:57 PM, Joel Goldstick wrote:
>
>
>
> On Thu, Mar 7, 2013 at 1:51 PM, rh wrote:
>
>> On Thu, 7 Mar 2013 07:57:33 -0800 (PST)
>> Νίκος Γκρ33κ wrote:
>> >
>> > I found it! I have placed 'htmltemp' within the os.system() call.
>> > Otherwise, os.system() returns a return val
On Thu, Mar 7, 2013 at 1:51 PM, rh wrote:
> On Thu, 7 Mar 2013 07:57:33 -0800 (PST)
> Νίκος Γκρ33κ wrote:
> >
> > I found it! I have placed 'htmltemp' within the os.system() call.
> > Otherwise, os.system() returns a return value (int) which python then
> > tries to concatenate with htmltemp (st
On Thu, Mar 7, 2013 at 12:41 PM, Joel Goldstick wrote:
>
>
>
> On Thu, Mar 7, 2013 at 11:22 AM, Νίκος Γκρ33κ wrote:
>
>> I have fixed this!
>> Still ahve allok and you will see that in both of my images they appear
>> in the firstpage of superhost.gr
>>
>> the output of .py files appear fine excep
On Thu, Mar 7, 2013 at 11:22 AM, Νίκος Γκρ33κ wrote:
> I have fixed this!
> Still ahve allok and you will see that in both of my images they appear in
> the firstpage of superhost.gr
>
> the output of .py files appear fine except of that ehen a visitor click on
> my first 2 image links he also se
I have fixed this!
Still ahve allok and you will see that in both of my images they appear in the
firstpage of superhost.gr
the output of .py files appear fine except of that ehen a visitor click on my
first 2 image links he also sees as first line this:
print ( "Content-type: text/html; charse
Τη Πέμπτη, 7 Μαρτίου 2013 5:55:58 μ.μ. UTC+2, ο χρήστης John Gordon έγραψε:
> In
> =?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= writes:
>
>
>
> > Switching back to:
>
>
>
> > os.system( 'python metrites.py > %s' ) % htmltemp
>
> > f =3D open( htmltemp )
>
> > htm
Τη Πέμπτη, 7 Μαρτίου 2013 5:33:10 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
> You can figure it out, but it will take some effort. I will not
>
> enlighten you further. The documentation is all there; the answers are
>
> available.
I found it! I have placed 'htmltemp' within the os.system()
In
=?ISO-8859-7?B?zd/q7/Igw+rxMzPq?= writes:
> Switching back to:
> os.system( 'python metrites.py > %s' ) % htmltemp
> f =3D open( htmltemp )
> htmldata =3D f.read()=09
> but still donse see what iam doing wrong.
You have the close-parentheses i
On Fri, Mar 8, 2013 at 2:26 AM, Νίκος Γκρ33κ wrote:
> Τη Πέμπτη, 7 Μαρτίου 2013 5:13:24 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
>> On Fri, Mar 8, 2013 at 2:01 AM, Νίκος Γκρ33κ wrote:
>>
>> > os.system( 'python metrites.py > %s' ) % htmltemp
>>
>>
>>
>> Manually step through what this line sh
Τη Πέμπτη, 7 Μαρτίου 2013 5:13:24 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
> On Fri, Mar 8, 2013 at 2:01 AM, Νίκος Γκρ33κ wrote:
>
> > os.system( 'python metrites.py > %s' ) % htmltemp
>
>
>
> Manually step through what this line should do. Follow the exact same
>
> rules Python will foll
On Fri, Mar 8, 2013 at 2:01 AM, Νίκος Γκρ33κ wrote:
> os.system( 'python metrites.py > %s' ) % htmltemp
Manually step through what this line should do. Follow the exact same
rules Python will follow in evaluating this expression.
http://docs.python.org/2/reference/expressions.html#operator-prece
Τη Πέμπτη, 7 Μαρτίου 2013 4:50:34 μ.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ έγραψε:
> os.system( 'python metrites.py > htmltemp' )
That is wrong now i realize, it takes htmltemp as the filename where what i
need is to take it htmltemp's varibales value.
Switching back to:
os.system( 'p
Why f gives back an error and doesnt open the filename that i give it as
anvariable successfully?
--
http://mail.python.org/mailman/listinfo/python-list
os.system( 'python metrites.py > htmltemp' )
f = open( htmltemp )
htmldata = f.read()
gives:
f undefined, builtin open = , temp =
'/home/nikos/www/data/private/htmltemp'
: [Errno 2] ��� ��� �� �� � �:
'/home/nikos/www/data
On Fri, Mar 8, 2013 at 1:44 AM, Νίκος Γκρ33κ wrote:
> /home/nikos/public_html/cgi-bin/metrites.py in ()
> 220 htmldata = f.read()
> 221 elif htmlpage.endswith('.py'):
> 222 os.system( 'python metrites.py > %s' ) % htmltemp
> 223 f =
Τη Πέμπτη, 7 Μαρτίου 2013 4:37:31 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
> On Fri, Mar 8, 2013 at 1:34 AM, Νίκος Γκρ33κ wrote:
>
> > os.system( 'python metrites.py > %s' ) % htmltemp
>
> >
>
> > : unsupported operand type(s) for %: 'int' and
> > 'str'
>
>
>
> Simple parenthesi
On Fri, Mar 8, 2013 at 1:34 AM, Νίκος Γκρ33κ wrote:
> os.system( 'python metrites.py > %s' ) % htmltemp
>
> : unsupported operand type(s) for %: 'int' and
> 'str'
Simple parenthesis problem. Take a careful look at the line mentioned
in the exception traceback (which you didn't share with
Docs doesn't explain that i just take looked at
http://docs.python.org/2/library/os.html#os.system
I see that the return value of os.system its an indicator to as if the command
inside os.system() returned successfully.
So i guess ill be needing somethign like this:
htmltemp = '/home/nikos/www
On Fri, Mar 8, 2013 at 1:13 AM, Νίκος Γκρ33κ wrote:
> I made some progress!!! Now the htmldata's value its not -1 but 256!!!
>
> look the error after trying this:
> htmldata = os.system("python metrites.py > '/data/private/htmltemp'")
Go check the docs for os.system() and understand why 'htmldata
On Fri, Mar 8, 2013 at 1:11 AM, Νίκος Γκρ33κ wrote:
> Τη Πέμπτη, 7 Μαρτίου 2013 4:01:13 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
>
>> You are panicking about specific problems. Take a deep breath, take a
>>
>> step back, and look at what's going on. If you've really been trying
>>
>> for three
I made some progress!!! Now the htmldata's value its not -1 but 256!!!
look the error after trying this:
htmldata = os.system("python metrites.py > '/data/private/htmltemp'")
template undefined, htmldata = 256, counter = ' mailto:supp...@superhost.gr";> ...st.gr/?show=stats">
Τη Πέμπτη, 7 Μαρτίου 2013 4:01:13 μ.μ. UTC+2, ο χρήστης Chris Angelico έγραψε:
> You are panicking about specific problems. Take a deep breath, take a
>
> step back, and look at what's going on. If you've really been trying
>
> for three days to make this work, it won't cost you much more to spe
On Fri, Mar 8, 2013 at 12:56 AM, Νίκος Γκρ33κ wrote:
> But iam tryign dayd for this i even tryign to chnage my 3 script to python
> v3.2.3 just to get subprocess up and running
>
> all the above fail:
>
> htmldata = os.system("python metrites.py '/data/files/htmltemp'")
>
> How can i tell system
But iam tryign dayd for this i even tryign to chnage my 3 script to python
v3.2.3 just to get subprocess up and running
all the above fail:
htmldata = os.system("python metrites.py '/data/files/htmltemp'")
How can i tell system to send metritis.py's output to a temporary file called
htmltemp s
On Fri, Mar 8, 2013 at 12:22 AM, Νίκος Γκρ33κ wrote:
> Please tell me at least if i ahve any syntax error in this line:
>
> htmldata = os.system('/usr/bin/python ./metrites.py /data/files/htmltemp')
>
> please man its essential for my website to work otherwise 3 scripts i wrote
> would not be abl
Please tell me at least if i ahve any syntax error in this line:
htmldata = os.system('/usr/bin/python ./metrites.py /data/files/htmltemp')
please man its essential for my website to work otherwise 3 scripts i wrote
would not be able to produce proper html output that then i need to append a
st
On Thu, 07 Mar 2013 13:25:58 +0100, Νίκος Γκρ33κ
wrote:
Τη Πέμπτη, 7 Μαρτίου 2013 1:51:42 μ.μ. UTC+2, ο χρήστης Michael Ross
έγραψε:
On Thu, 07 Mar 2013 12:27:03 +0100, Νίκος Γκρ33κ
wrote:
> Τη Πέμπτη, 7 Μαρτίου 2013 11:06:27 π.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ
> έγραψε:
>> Any ideas
Τη Πέμπτη, 7 Μαρτίου 2013 1:51:42 μ.μ. UTC+2, ο χρήστης Michael Ross έγραψε:
> On Thu, 07 Mar 2013 12:27:03 +0100, Νίκος Γκρ33κ
>
> wrote:
>
>
>
> > Τη Πέμπτη, 7 Μαρτίου 2013 11:06:27 π.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ
>
> > έγραψε:
>
> >> Any ideas about the error please?
>
> >>
>
> >
On Thu, 07 Mar 2013 12:27:03 +0100, Νίκος Γκρ33κ
wrote:
Τη Πέμπτη, 7 Μαρτίου 2013 11:06:27 π.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ
έγραψε:
Any ideas about the error please?
I can assure you all the statemnt are correct ebcause they work in
python v2.6.6
can someone help this issue so my w
Τη Πέμπτη, 7 Μαρτίου 2013 11:06:27 π.μ. UTC+2, ο χρήστης Νίκος Γκρ33κ έγραψε:
> Any ideas about the error please?
>
>
>
> I can assure you all the statemnt are correct ebcause they work in python
> v2.6.6
can someone help this issue so my webiste will get back on working plz?
--
http://mail.p
Any ideas about the error please?
I can assure you all the statemnt are correct ebcause they work in python v2.6.6
--
http://mail.python.org/mailman/listinfo/python-list
59 matches
Mail list logo