Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Telnet/ SSH Web Shell in Admin CP Details »»
vB Telnet/ SSH Web Shell in Admin CP
Version: 1.00, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-06-2004 Last Update: Never Installs: 15
 
No support by the author.

vB Telnet/ SSH Web Shell by Dr Erwin Loh version 1.0

This allows you Telnet/ SSH Shell access via your vB 3.x.x Admin CP.
This is very useful if you are somewhere where you cannot get Telnet or SSH shell access, or you are behind a firewall.

Disclaimer: The author does not take responsibility for any detriment that comes out of the use of this script. Use at your own risk!


Installation (full instructions in Install.txt in ZIP file):

1) Set a second layer of popup usernames and passwords for added security.
2) Upload "ssh.php" to your /admincp folder.

3) Make a link to the SSH shell in your Admin CP.

Finish!

Once this is installed, you can just click on the "vB SSH/ Telnet" link in your Admin CP on the left column underneath your "vBulletin Options" to access this.


Enjoy!

Dr. Erwin Loh

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-07-2004, 07:50 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 13th_Disciple
Erwin.. I have tried to use web based ssh clients before and have not been able to use them when I was behind a firewall.. Is all of the port 22 data handled by the admin CP from within the server, or is the browser from the client-side actually trying to connect to port 22??
It uses port 80, http, not port 22. So it bypasses firewalls.

No, you can't su -.

At the moment, because apache/ httpd is usually owned by nobody, you log in as nobody. I can see if that can be bypassed, but then that would be a security issue.

@Xenon - these are just hacks I use on my site. Thought I would share.
Reply With Quote
  #13  
Old 06-07-2004, 08:32 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even so i miss you

hmm, can't you change your account so 'login as'
(i can't test it, as i don't think i should install this here ^^)
Reply With Quote
  #14  
Old 06-08-2004, 03:17 AM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/neocort2/public_html/admincp/ssh.php:1) in /home/neocort2/public_html/admincp/ssh.php on line 147

Warning: Cannot modify header information - headers already sent by (output started at /home/neocort2/public_html/admincp/ssh.php:1) in /home/neocort2/public_html/admincp/ssh.php on line 148
any ideas?
Reply With Quote
  #15  
Old 06-08-2004, 06:13 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why should we need one?
Any idea?
Reply With Quote
  #16  
Old 06-08-2004, 06:35 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
Why should we need one?
Any idea?
I use it from work, where I don't have SSH access because of the work's firewall.
Reply With Quote
  #17  
Old 06-08-2004, 07:21 AM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the Hack,

But I got this error:

Fatal error: Call to undefined function: proc_open() in /home/virtual/site9/fst/var/www/html/forums/admincp/ssh.php on line 127

anyone?
Reply With Quote
  #18  
Old 06-08-2004, 10:49 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by uae
Thanks for the Hack,

But I got this error:

Fatal error: Call to undefined function: proc_open() in /home/virtual/site9/fst/var/www/html/forums/admincp/ssh.php on line 127

anyone?
What version php are you running?
Reply With Quote
  #19  
Old 06-08-2004, 01:06 PM
scottct1 scottct1 is offline
 
Join Date: Mar 2002
Location: Connecticut
Posts: 391
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now only if this support VT100 emulation so I could watch TOP.

As the owner of my server I do wish I could do su so I could restart processes. Or at least I wish you could get a ssh login prompt so I can login with the user who I want to access various parts of my server.

Great work!
Reply With Quote
  #20  
Old 06-08-2004, 03:17 PM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
What version php are you running?
PHP Version 4.2.2
Reply With Quote
  #21  
Old 06-08-2004, 08:00 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by uae
PHP Version 4.2.2
Mmm... not sure - I do suggest upgrading to 4.3.6 (even 4.3.7 is out).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04913 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete