Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
August 25, 2019
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 204
Members: 0
Total: 204
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Python -> help on python
Post new topic  Reply to topic View previous topic :: View next topic 
help on python
PostPosted: Sun Oct 03, 2004 7:32 am Reply with quote
benji
Beginner
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

_________________
Benji
View user's profile Send private message
Re: help on python
PostPosted: Sat May 31, 2008 12:09 pm Reply with quote
Snoop1990
Advanced user
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 !"
View user's profile Send private message Visit poster's website
help on python
  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  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






It book reviews
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2013 Janek Vind "waraxe"
Page Generation: 0.083 Seconds