|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 69
Members: 0
Total: 69
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
help on python |
|
Posted: Sun Oct 03, 2004 7:32 am |
|
|
benji |
Beginner |
|
|
Joined: Oct 03, 2004 |
Posts: 3 |
|
|
|
|
|
|
|
Hi, i am new on this board.
At the moment i am trying to do a python program who can send a web page on a FTP without asking password and login.
My code et the moment is :
Code: |
# -- codingcp1252 --
import urllib
import socket
import ftplib
import httplib
print (Vous etes sur le programme de benji qui permet d envoyer des fichier sur un ftp.)
site = raw_input(Entrez l ip du site svp )
data = raw_input(entrez le fichier a envoyer qui doit etre dans le meme repertoire que celui-ci )
sPage = open(data)
readpage = sPage.read()
print readpage
pres = raw_input(voulez vous lancer le programme[oui/non] )
while (1)
if pres == oui
sendall(data)
print envoi effectue
raw_input()
elif pres == non
print a+
else
print (entrer un truc valide svp!)
pres = raw_input(voulez vous lancer le programme[oui/non] ) |
Yes i'm french.....
Now with want i have already made a can get a file from my HD but i can't send it.
Thanks for helping |
|
|
|
|
|
|
Re: help on python |
|
Posted: Sat May 31, 2008 12:09 pm |
|
|
Snoop1990 |
Advanced user |
|
|
Joined: May 22, 2008 |
Posts: 65 |
|
|
|
|
|
|
|
benji wrote: | Hi, i am new on this board.
At the moment i am trying to do a python program who can send a web page on a FTP without asking password and login.
|
mmh, I am not sure what exactly your plans are.
Do you have access to the FTP share (have a username or password) or is it a public share ?
Or do you want to get access to a secured FTP share ? |
|
_________________ http://snoop1990.co.cc
"I don't hack, I only surf the web to search for security holes ! To prevent my clients and me from being hacked !" |
|
|
|
www.waraxe.us Forum Index -> Python
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|