[#404611] Looking for Rubyists interested in P2P and privacy — Tony Arcieri <tony.arcieri@...>
Hey there, excuse the spam ;) Hopefully this is relevant enough.
3 messages
2013/08/07
[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>
Hello :
11 messages
2013/08/04
[#409339] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Hello Jesus :
[#409340] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 9:18 AM, Hubert Wagner <lists@ruby-forum.com> wrote:
[#409346] Re: Capture HTML table data, pass to Ruby, pass back and display result in HTML text field
— Hubert Wagner <lists@...>
2013/08/04
Thank you all for your assistance (and patience).
[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>
Hi,
13 messages
2013/08/04
[#409341] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409349] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117692:
[#409350] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 1:42 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409351] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117715:
[#409356] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/04
On Sun, Aug 4, 2013 at 2:21 PM, Jennifer T. <lists@ruby-forum.com> wrote:
[#409357] Re: Rakefile Error - Please Help
— "Jennifer T." <lists@...>
2013/08/04
Hassan Schroeder wrote in post #1117723:
[#409358] Re: Rakefile Error - Please Help
— Hassan Schroeder <hassan.schroeder@...>
2013/08/05
On Sun, Aug 4, 2013 at 4:57 PM, Jennifer T. <lists@ruby-forum.com> wrote:
Re: net/telnet haning on pasword
From:
Cliff Rosson <cliff.rosson@...>
Date:
2013-08-08 16:19:54 UTC
List:
ruby-talk #404619
Is the prompt "Username" correct? It seems like its getting stuck there not
recieving the value you told it to expect.
Make sure your prompt matches.
IMHO consider switching to SSH. I have found it just easier to work in. You
still need to set the proper prompt. This is what mine looks like.
https://github.com/crosson/ssh/blob/master/ssh.rb
creds[:prompt] = /.*>|.*#/
On Thu, Aug 8, 2013 at 3:22 AM, Avery Rozar <lists@ruby-forum.com> wrote:
> Hello all,
> I'm getting stuck at the @password portion. This script will get into
> the Cisco ASA, but doesn't seem to enter in the password. Any help is
> greatly appreciated.
>
> begin
> session = Net::Telnet::new('Host' => @hostname, 'Timeout' => 10,
> 'Telnetmode' => false, verbose: :debug)
> session.waitfor('Prompt' => /Username/)
> session.cmd(@username) { |c| print c }
> session.waitfor('Prompt' => /Password/)
> session.cmd(@password) { |c| print c }
> session.waitfor(/>/)
> session.cmd(@cmd + '\n') { |c| print c }
> session.close
>
> end
>
>
> Debug output:
>
> arozar
> Password: Uncaught exception: timed out while waiting for more data
>
> /Users/averyrozar/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/telnet.rb:558:in
> `waitfor'
>
> /Users/averyrozar/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/telnet.rb:695:in
> `cmd'
> /Users/averyrozar/Ruby-Scripts/tools/telnet-tool.rb:44:in `<top
> (required)>'
>
> Process finished with exit code 0
>
> --
> Posted via http://www.ruby-forum.com/.
>
--
- Cliff Rosson