Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53948 > unrolled thread

Telnet to remote system and format output via web page

Started byKenroy Bennett <bennettk9999@gmail.com>
First post2013-09-11 03:45 -0700
Last post2013-09-11 10:13 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  Telnet to remote system and format output  via web page Kenroy Bennett <bennettk9999@gmail.com> - 2013-09-11 03:45 -0700
    Re: Telnet to remote system and format output  via web page Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2013-09-11 13:45 +0100
    Re: Telnet to remote system and format output via web page Rodrick Brown <rodrick.brown@gmail.com> - 2013-09-11 10:13 -0400

#53948 — Telnet to remote system and format output via web page

FromKenroy Bennett <bennettk9999@gmail.com>
Date2013-09-11 03:45 -0700
SubjectTelnet to remote system and format output via web page
Message-ID<8ac501c2-8fbc-4b6c-9e71-49c811f8fb5e@googlegroups.com>
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 this the best way of getting info from a remote system to be output to a web page? 

Is flask over kill for project like this ?

Thanks,
Kenroy

[toc] | [next] | [standalone]


#53959

FromJugurtha Hadjar <jugurtha.hadjar@gmail.com>
Date2013-09-11 13:45 +0100
Message-ID<mailman.248.1378904139.5461.python-list@python.org>
In reply to#53948
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,

[toc] | [prev] | [next] | [standalone]


#53966 — Re: Telnet to remote system and format output via web page

FromRodrick Brown <rodrick.brown@gmail.com>
Date2013-09-11 10:13 -0400
SubjectRe: Telnet to remote system and format output via web page
Message-ID<mailman.252.1378908830.5461.python-list@python.org>
In reply to#53948
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 <jugurtha.hadjar@gmail.com> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web