![Waraxe IT Security Portal](themes/Helius/images/logo.jpg) |
|
![](themes/Helius/images/7px.gif) |
![](themes/Helius/forums/images/top_left.gif) |
Menu |
![](themes/Helius/forums/images/top_right.gif) |
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
![](themes/Helius/forums/images/top_left.gif) |
User Info |
![](themes/Helius/forums/images/top_right.gif) |
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 85
Members: 0
Total: 85
|
|
|
|
|
![](themes/Helius/forums/images/top_left.gif) |
Full disclosure |
![](themes/Helius/forums/images/top_right.gif) |
|
|
![](themes/Helius/images/top_left.gif) |
|
![](themes/Helius/images/top_right.gif) |
![](themes/Helius/forums/images/logo1.gif) |
|
![](themes/Helius/forums/images/logo2.gif) |
IT Security and Insecurity Portal |
|
![](themes/Helius/forums/images/top_left.gif) |
help on python |
![](themes/Helius/forums/images/top_right.gif) |
Posted: Sun Oct 03, 2004 7:32 am |
|
|
benji |
Beginner |
![Beginner Beginner](modules/Forums/images/ranks/rang1.gif)
![](https://www.waraxe.us/images/blank.gif) |
|
Joined: Oct 03, 2004 |
Posts: 3 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
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 |
|
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/top_left.gif) |
Re: help on python |
![](themes/Helius/forums/images/top_right.gif) |
Posted: Sat May 31, 2008 12:09 pm |
|
|
Snoop1990 |
Advanced user |
![Advanced user Advanced user](modules/Forums/images/ranks/rang4.gif)
![](modules/Forums/images/avatars/gallery/blank.gif) |
|
Joined: May 22, 2008 |
Posts: 65 |
|
|
|
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/spacer.gif) |
![](themes/Helius/forums/images/post_corner.gif) |
|
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
|
|
|
|
|
|
|