Project

General

Profile

Download (9.59 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
bde982dd 02/12/2013 07:01 PM Jim Pingle

Declare $config as global before interactive PHP shell command evaluation. Fixes #808

cfbfd941 01/19/2012 07:33 PM Seth Mos

The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings

e788b01d 12/03/2009 02:06 AM Scott Ullrich

Add a few more commands for the lazy

f6907eb4 12/03/2009 02:03 AM Scott Ullrich

Add tab completion

8586a962 10/05/2009 05:20 PM Scott Ullrich

Automatically source common items so that config is in the eval() context

eb95ba84 11/23/2008 12:00 AM Scott Ullrich

Output welcome banner after globals.inc is required

4c1817bd 11/20/2008 01:25 AM Scott Ullrich

Turn off debugging text

b9e3a295 11/10/2008 04:12 AM Scott Ullrich

Use product_name

4c12ef0a 10/24/2008 12:32 AM Scott Ullrich

Break out item that can be its own function

8a7712ea 09/10/2008 07:59 PM Scott Ullrich

Require_once instead of require.

b1de6b8b 08/30/2008 07:13 AM Scott Ullrich

Show playback commands avaiable

9f2820d8 04/14/2008 05:31 PM Scott Ullrich
  • Fix help
  • Fix exit/quit
e5b3e767 11/24/2007 05:02 AM Scott Ullrich

Remove extra C/R

47643f5b 11/23/2007 10:36 PM Scott Ullrich

Detect playback file not found when passed as argument. Example: pfSsh.php replay cvssync RELENG_1

96ebb0a6 11/23/2007 07:57 AM Scott Ullrich

Allow arguments to be passed to cvssync so you can do:

pfSsh.php playback cvssync RELENG_1

415c850d 11/23/2007 06:07 AM Scott Ullrich

Allow arguments to be passed to the pfSense php shell.

93a3d242 11/23/2007 04:03 AM Scott Ullrich

Bring us one step closer to being able to port cvs_sync.sh to pfSsh by adding multiline support. For example

00ea455f 11/22/2007 06:47 AM Scott Ullrich

Do not forget ; on php lines.

328ab0ae 11/22/2007 06:22 AM Scott Ullrich

Collect the help file into one variable and then pipe through more()

02105da4 11/22/2007 06:14 AM Scott Ullrich

Add recording related commands

60ff8601 11/22/2007 06:12 AM Scott Ullrich

Collect the help file into one variable and then pipe through more()

da30a386 11/22/2007 01:26 AM Scott Ullrich

Really cleanup c/r usage.

f9fd2b14 11/22/2007 01:04 AM Scott Ullrich
  • Fix ! commands (do not echo commands but execute as shell)
  • Fix grep commands in playback session for restart ftp helper
8c4c46c3 11/22/2007 12:32 AM Scott Ullrich

Add showrecordings command which will show available sessions for playback

a07fbc84 11/22/2007 12:09 AM Scott Ullrich

Teach pfSense's php shell how to record and playback a set of commands.

For instance you could automate a series of reptitive developer commands. For example:

pfSense shell: record restartftp
pfSense shell: = killall ftp-proxy
pfSense shell: system_start_ftp_helpers();...

34af0cab 11/22/2007 12:05 AM Scott Ullrich

Teach pfSense's php shell how to record and playback a set of commands.

For instance you could automate a series of reptitive developer commands. For example:

pfSense shell: record restartftp
pfSense shell: = killall ftp-proxy
pfSense shell: system_start_ftp_helpers();...

19886913 11/19/2007 08:38 PM Scott Ullrich

Add carriage return after outputting help screen

376807d7 11/19/2007 08:23 PM Scott Ullrich

Remove debugging echo

50fa05d1 11/19/2007 05:38 AM Scott Ullrich

Add pipe_cmd() function

7aa6eee6 11/19/2007 04:30 AM Scott Ullrich

Missed a c/r

7116ab7f 11/19/2007 04:30 AM Scott Ullrich
  • Allow shell commands to be executed if you proceed the command with =
  • Clean up carriage returns and make presentation look nicer
3d3be836 11/19/2007 03:23 AM Scott Ullrich

If readline is not included in PHP then fall back to normal boring text input methods.

cd8ca22f 11/19/2007 02:57 AM Scott Ullrich

Add second argument of more allowing control of when press Return is displayed

5003c48a 11/19/2007 02:52 AM Scott Ullrich

add more($text) function. With this function it will ask the person to press return after 24 rows of output. Good for stuff like this:

$temp = print_r($config, true);
more($temp);

ebe2951e 11/09/2007 02:09 AM Scott Ullrich

Add libreadline support for command histories.

Requested-by: CMB

1b8a2f5c 08/28/2007 07:19 PM Scott Ullrich

Set $pkg_interface='console'; in php shell.

46d53988 05/03/2007 05:42 AM Scott Ullrich

Move help / common usage scenarios to the "help" command.

4fca174c 05/03/2007 04:51 AM Scott Ullrich

Show how to output the wireless options such as channels, modes, etc.

94e2459b 05/03/2007 04:17 AM Scott Ullrich

Clarify DHCP server comment

8ea3c329 05/03/2007 03:55 AM Scott Ullrich
  • Correct printr typo.
  • Show how to output the interfaces and dhcpd portions of the configuration
c64bccc0 05/03/2007 03:49 AM Scott Ullrich

Show the reboot command as well for php pfSense shell

Sponsored-by: Bluegrass.net

73b2c799 05/03/2007 03:38 AM Scott Ullrich

Minor text updates

2ae83127 05/03/2007 03:37 AM Scott Ullrich

Minor text updates

03b85ded 05/03/2007 03:32 AM Scott Ullrich

Show common commands in the php pfsense shell such as:

  • Enabling SSH
  • Enabling wireless on an interface (hostap, channel, ssid, etc)
  • Enabling DHCP Server on an interface
  • Disable firewall filter
  • Set up an interface for DHCP and enable
  • Set up an interface for static and enable

These commands come in handy when configuring a 1 port ethernet wrap with 2 wireless cards.

Sponsored-by: Bluegrass.net

40a1b7af 04/30/2007 12:51 AM Scott Ullrich

Add multiline support for multi-line mini programs/scripts.

123bfdac 04/29/2007 11:58 PM Scott Ullrich

Show that exit is a valid command

6855dff0 04/29/2007 11:51 PM Scott Ullrich

Escape $ so that it does not try to print out the variable

d776e077 04/29/2007 11:49 PM Scott Ullrich

Add a pfSense interactive php shell for developers.