Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.039 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'static': 0.04; 'output': 0.05; 'hosts': 0.07; 'cc:addr:python-list': 0.11; 'formatted': 0.16; 'message-id:@unknownmsgid': 0.16; 'ssh': 0.16; 'subject:format': 0.16; 'wrote:': 0.18; 'library': 0.18; 'app': 0.19; 'subject:page': 0.19; 'cc:addr:python.org': 0.22; 'parse': 0.24; 'cc:2**0': 0.24; 'login': 0.25; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'along': 0.30; 'url:mailman': 0.30; 'cgi': 0.31; 'sep': 0.31; 'url:python': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'wrong': 0.37; 'remote': 0.38; 'server': 0.38; 'issue': 0.38; 'url:mail': 0.40; 'how': 0.40; 'commands': 0.60; 'information': 0.63; 'myself': 0.63; 'iphone': 0.65; 'to:addr:gmail.com': 0.65; 'webpage': 0.68; '11:45': 0.84; 'subject:system': 0.84; 'subject:via': 0.84; '2013,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:mime-version:in-reply-to:date:message-id:subject:to :cc:content-type; bh=25q+SbznjSvO3EppanTnGl3N/IsWSUvoLR6D1SAhCrc=; b=L60MNKOvocw67EAkUoiziGdeEH/SrCv/HavSRuan3j8MM+OulO91ARIkDKjRCi67v0 I1/+90/RM+iZm1lxRgZbkgMq5doKkJ2MJTQq2a6Y8Tl/FSeqUOoMjsmN3hIb6nGxTyc9 vKroWNYJN6D0oXXQ8CW0i7xdM2EcPvBF/TZHqJyExzUotoDryPNKVQAFqf1CLdf/HUAZ nIaaJhQIstvFp6LL5zyUDmQqe50K3QVC+zXkF/wGZOPLbYZR8bCe5P2NFj1J+HOKz9Pd J5PNGCGwUMP98unGL9AFJDikjLrtwfHvMs1FNuQvvuLZ0/0TbfKfYW3f6z12kxeCyd7C qdlA== X-Received: by 10.52.74.100 with SMTP id s4mr581572vdv.35.1378908827436; Wed, 11 Sep 2013 07:13:47 -0700 (PDT) References: <8ac501c2-8fbc-4b6c-9e71-49c811f8fb5e@googlegroups.com> <52306606.7090801@gmail.com> From: Rodrick Brown Mime-Version: 1.0 (1.0) In-Reply-To: <52306606.7090801@gmail.com> Date: Wed, 11 Sep 2013 10:13:46 -0400 Subject: Re: Telnet to remote system and format output via web page To: Jugurtha Hadjar Content-Type: text/plain; charset=ISO-8859-1 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378908830 news.xs4all.nl 15916 [2001:888:2000:d::a6]:47268 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53966 I would use something like fabric to automatically login to hosts via ssh then parse the data myself to generate static HTML pages in a document root. Having a web app execute remote commands on a server is so wrong in many ways. Sent from my iPhone On Sep 11, 2013, at 8:56 AM, Jugurtha Hadjar wrote: > On 09/11/2013 11:45 AM, Kenroy Bennett wrote: >> Hi >> >> >> I would like to create a web app using flask or cgi library along with telnetlib to telnet to specific servers and execute commands and retrieve the output. >> The output will then be formatted and outputted to a webpage . > > > Is security an issue ? How sensitive is the information you are querying ? Must it be Telnet ? > > > -- > ~Jugurtha Hadjar, > -- > https://mail.python.org/mailman/listinfo/python-list