/usr/mww/phpxmail # ls
changelog.txt domain login.inc register.inc
checkhtml.php environment.inc logout.inc sendmail.inc
checkssh.php gfx main.css server
class.phpxm.php index.html main.php servers.php
class.xmail.php index.php menu.php update.inc
config.inc install.txt mime_mail.class user
config.php legend.inc mime_mail.inc usrdefaults.inc
denied.inc license.txt readme.txt
/var/mod/root # ps
PID USER VSZ STAT COMMAND
1 root 1416 S init
2 root 0 SWN [ksoftirqd/0]
3 root 0 SW [watchdog/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
6 root 0 SW< [kthread]
18 root 0 SW< [kblockd/0]
32 root 0 SW [pdflush]
33 root 0 SW [pdflush]
34 root 0 SW< [kswapd0]
35 root 0 SW< [aio/0]
72 root 0 SW [pm_info]
76 root 0 SW< [CPMAC]
80 root 0 SW [mtdblockd]
102 root 0 SW [tffsd_mtd_0]
339 root 0 SW [cleanup_timer_f]
349 root 0 SW [dectuart_route]
356 root 0 SWN [jffs2_gcd_mtd5]
399 root 0 SW< [capi_oslib]
400 root 0 SW< [capi_oslib]
401 root 0 SW [capitransp]
407 root 0 SW [glob_codecs]
410 root 0 SW< [avm_dect_thread]
411 root 0 SW [ksock tcp worke]
412 root 0 SW [ksock tcp serve]
427 root 0 SW< [khubd]
545 root 10784 S N ctlmgr
557 root 0 SW< [scsi_eh_0]
558 root 0 SW< [usb-storage]
885 root 10784 S N ctlmgr
887 root 10784 R N ctlmgr
891 root 10784 S N ctlmgr
898 root 10784 S N ctlmgr
902 root 10784 S N ctlmgr
944 root 4932 S upnpd
964 root 3600 S multid -t
1038 root 1428 S /sbin/chronyd -f /var/tmp/chrony.conf
1042 root 3976 S dsld -i -n
1046 root 0 SW< [kjournald]
1073 root 3248 S /bin/configd
1106 root 5432 S telefon a127.0.0.1
1126 root 4988 S < voipd
1136 root 3460 S pbd
1137 root 3460 S pbd
1153 root 3460 S pbd
1154 root 5432 S telefon a127.0.0.1
1155 root 5432 S telefon a127.0.0.1
1156 root 5432 S telefon a127.0.0.1
1159 root 3460 S pbd
1160 root 4384 S dect_manager
1166 root 1600 S /usr/sbin/inetd
1172 root 1112 S /bin/run_clock -c /dev/tffs -d
1189 root 3124 S /usr/bin/faxd -a
1255 root 3600 S multid -t
1280 root 1616 S syslogd -L -C -R 192.168.5.101
1282 root 1600 S /sbin/klogd -c 4
1318 root 4932 S upnpd
1319 root 4932 S upnpd
1320 root 4932 S upnpd
1474 root 5432 S telefon a127.0.0.1
1475 root 5432 S telefon a127.0.0.1
1476 root 5432 S telefon a127.0.0.1
1803 root 1756 S /bin/ash /usr/sbin/callmonitor
1804 root 1600 S logger -t callmonitor -p daemon.info
1826 root 1756 S /bin/ash /usr/sbin/callmonitor
1827 root 1756 S /bin/ash /usr/sbin/callmonitor
1828 root 1756 S /bin/ash /usr/sbin/callmonitor
1829 root 1600 S busybox nc 127.0.0.1 1012
1830 root 1756 S /bin/ash /usr/sbin/callmonitor
2165 root 1416 S init
3007 root 1604 S telnetd -l /sbin/ar7login
3017 root 1600 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.
9476 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9478 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9479 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9480 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9481 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9482 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9483 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9484 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
9485 xmail 2120 S /usr/lib/MailRoot/bin/XMail -F- -MM -Ms /mod/etc/xmai
13721 root 3148 S N hostapd -B /var/tmp/wlan_ath0_topology
14288 root 1432 S -sh
14327 root 1416 R ps
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Freetz - PHPXmail</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<frameset rows="*">
<frame src="index.php" name="topframe" scrolling="auto" frameborder="0">
<noframes>
<body>
<p>Der Browser unterstützt keine Frames!
<a href="index.php">Klick mich</a></p>
</body>
</noframes>
</frameset>
</html>
<html>
<head>
<title>PHPXMail</title>
</head>
<frameset cols='200, *' border='0' frameborder='0'>
<frame name='menu' src='menu.php' border='0' frameborder='0' scrolling='no'>
<frame name='main' src='main.php' border='0' frameborder='0' scrolling='yes'>
</frameset>
-rw-r--r-- 1 root root 469 Jan 13 09:37 /usr/mww/phpxmail/index.html
cat /usr/mww/phpxmail/index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Freetz - PHPXmail</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<frameset rows="*">
<frame src="index.php" name="topframe" scrolling="auto" frameborder="0">
<noframes>
<body>
<p>Der Browser unterstützt keine Frames!
<a href="index.php">Klick mich</a></p>
</body>
</noframes>
</frameset>
</html>
cat /usr/mww/phpxmail/index.php
<html>
<head>
<title>PHPXMail</title>
</head>
<frameset cols='200, *' border='0' frameborder='0'>
<frame name='menu' src='menu.php' border='0' frameborder='0' scrolling='no'>
<frame name='main' src='main.php' border='0' frameborder='0' scrolling='yes'>
</frameset>
</html>
/var/mod/root # ps
PID USER VSZ STAT COMMAND
1 root 1424 S init
2 root 0 SWN [ksoftirqd/0]
3 root 0 SW [watchdog/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
6 root 0 SW< [kthread]
17 root 0 SW< [kblockd/0]
31 root 0 SW [pdflush]
32 root 0 SW [pdflush]
33 root 0 SW< [kswapd0]
34 root 0 SW< [aio/0]
70 root 0 SW [pm_info]
74 root 0 SW< [CPMAC]
78 root 0 SW [mtdblockd]
100 root 0 SW [tffsd_mtd_0]
521 root 0 SW [cleanup_timer_f]
531 root 0 SW [dectuart_route]
538 root 0 SWN [jffs2_gcd_mtd5]
581 root 0 SW< [capi_oslib]
582 root 0 SW< [capi_oslib]
583 root 0 SW [capitransp]
589 root 0 SW [glob_codecs]
592 root 0 SW< [avm_dect_thread]
593 root 0 SW [ksock tcp worke]
594 root 0 SW [ksock tcp serve]
609 root 0 SW< [khubd]
723 root 0 SW< [scsi_eh_0]
724 root 0 SW< [usb-storage]
764 root 9632 S N ctlmgr
1187 root 9632 S N ctlmgr
1192 root 9632 R N ctlmgr
1194 root 9632 S N ctlmgr
1201 root 9632 S N ctlmgr
1205 root 9632 S N ctlmgr
1347 root 3148 S hostapd -B /var/tmp/wlan_ath0_topology
1378 root 4936 S upnpd
1444 root 4712 S mediasrv
1450 root 4712 S mediasrv
1455 root 4712 S mediasrv
1456 root 4712 S mediasrv
1545 nobody 1248 S dnsmasq --pid-file=/var/run/dnsmasq/dnsmasq.pid -p 53
1551 root 3552 S multid -t
1572 root 2908 S usermand
1574 root 4040 S dsld -i -n
1582 root 3252 S /bin/configd
1587 root 6072 S telefon a127.0.0.1
1590 root 1608 S telnetd -l /sbin/ar7login
1592 root 5000 S < voipd
1597 root 3280 S pbd
1598 root 3280 S pbd
1603 root 3280 S pbd
1604 root 3280 S pbd
1606 root 1612 S /usr/sbin/inetd
1609 root 1112 S /bin/run_clock -c /dev/tffs -d
1613 root 6072 S telefon a127.0.0.1
1614 root 6072 S telefon a127.0.0.1
1615 root 6072 S telefon a127.0.0.1
1618 root 4308 S dect_manager
1619 root 3552 S multid -t
1622 root 3120 S /usr/bin/faxd -a
1623 root 1888 S capiotcp_server -p5031 -m1
1628 root 0 RWN [kdsld_token]
1642 root 4936 S upnpd
1643 root 4936 S upnpd
1644 root 4936 S upnpd
1645 root 6072 S telefon a127.0.0.1
1646 root 6072 S telefon a127.0.0.1
1647 root 6072 S telefon a127.0.0.1
1683 root 1416 S /sbin/chronyd -f /var/tmp/chrony.conf
1771 root 2896 S < dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1773 root 2896 S < dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1774 root 2896 S < dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1775 root 2896 S < dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1776 root 2896 S < dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1781 root 2896 R N dtmfbox -daemon -cfg /var/dtmfbox/dtmfbox.cfg
1835 root 1624 S crond -b
1845 root 1608 S httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz
1867 root 1608 S syslogd -L -O /var/media/ftp/uStor01/logfile -b 5 -s 2048 -R 192.168.0.1
1869 root 1608 S /sbin/klogd -c 4
2063 root 1564 S dropbear -p 22 -R
2130 root 2228 S privoxy --pidfile /var/run/privoxy.pid /mod/etc/privoxy/config
2147 root 1608 S httpd -P /var/run/webcfg-wol.pid -p 82 -c /mod/etc/httpd-wol.conf -h /mod/pkg/wol/usr/mww-wol/ -r Wake-on-LAN
2331 openvpn 2056 S openvpn_Strato --config /mod/etc/openvpn_Strato.conf --writepid /var/run/openvpn_Strato.pid
2463 root 1144 S inadyn-mt --input_file /mod/etc/inadyn-mt.conf
2749 root 1648 S /bin/sh /etc/default.rrdstats/rrdstats 5
2758 root 1424 S init
26322 root 1624 S dropbear -p 22 -R
26382 root 1444 S -sh
27720 root 1424 R ps
cd /usr/mww/phpxmail
php-cgi index.php
php-cgi menu.php
/usr/mww/phpxmail # php-cgi index.php
X-Powered-By: PHP/5.2.12
Content-type: text/html
<html>
<head>
<title>PHPXMail</title>
</head>
<frameset cols='200, *' border='0' frameborder='0'>
<frame name='menu' src='menu.php' border='0' frameborder='0' scrolling='no'>
<frame name='main' src='main.php' border='0' frameborder='0' scrolling='yes'>
</frameset>
/usr/mww/phpxmail # php-cgi menu.php
X-Powered-By: PHP/5.2.12
Set-Cookie: PHPSESSID=tl5p25fci5ell3ql2t857rcas6; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
<html>
<head>
<title></title>
<link rel="stylesheet" href="main.css" type="text/css">
<base target='main'>
</head>
<body class="menu">
<img src='gfx/phpx.gif' alt='phpxmail' border='0'>
<div class='content'>
<div align=center><b>PHPXmail <a href=http://nextcode.org/forums/ target=_blank>support</a><br>Version: 1.5 <a href='main.php?action=update'> update </a></div>
<br>
<a href='main.php?action=serverlist'><div class='menulink'>setup</div></a><br><a href='main.php?action=legend'><div class='menulink'>legend</div></a><br>
</div>
</body>
</html>/usr/mww/phpxmail #
<hier steht nix, aber ich muss was reinschreiben, sonst werden die code tags gelöscht>
cat /tmp/flash/php.ini
[PHP]
magic_quotes_gpc = Off
engine = On
zend.ze1_compatibility_mode = Off
short_open_tag = Off
asp_tags = Off
precision = 14
y2k_compliance = On
output_buffering = 4096
zlib.output_compression = On
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = Off
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = On
max_execution_time = 30
max_input_time = 60
memory_limit = 16M
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
variables_order = "GPCS"
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
extension_dir = "./"
enable_dl = On
file_uploads = On
upload_tmp_dir = /var/tmp/php
upload_max_filesize = 2M
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
cgi.fix_pathinfo = 1 ;This option is relevant for lighttpd
[Date]
[filter]
[iconv]
[sqlite]
[xmlrpc]
[Pcre]
[Syslog]
define_syslog_variables = Off
[mail function]
SMTP = localhost
smtp_port = 25
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off
[MySQLi]
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mSQL]
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1
[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off
[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10
[bcmath]
bcmath.scale = 0
[browscap]
[Informix]
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0
[Session]
session.save_handler = files
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.bug_compat_42 = 0
session.bug_compat_warn = 1
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 5
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
mssql.secure_connection = Off
[Assertion]
[COM]
[mbstring]
[FrontBase]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
/etc/init.d/rc.webcfg stop
httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz -vv -f
httpd -P /var/run/webcfg.pid -p 81 -c /mod/etc/httpd.conf -h /usr/mww/ -r Freetz -vv -f
192.168.0.4:56420: url:/phpxmail/index.html
192.168.0.4:56420: response:200
192.168.0.4:56421: url:/phpxmail/index.php
<b>Security Alert!</b> The PHP CGI cannot be accessed directly.
<p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the <a href="http://php.net/security.cgi-bin">manual page for CGI security</a>.</p>
<p>For more information about changing this behaviour or re-enabling this webserver,
consult the installation file that came with this distribution, or visit
<a href="http://php.net/install.windows">the manual page</a>.</p>
192.168.0.4:56422: url:/favicon.ico
192.168.0.4:56422: response:200
freetz-trunk$ ls -la make/busybox/patches/450-httpd_REDIRECT_STATUS.patch
-rw-r--r-- 1 user user 483 2010-01-13 09:35 make/busybox/patches/450-httpd_REDIRECT_STATUS.patch
make busybox-dirclean
make busybox-distclean
smtpfwd.tab:
"*"<tab>"smtp.1und1.de (zum Beispiel)"
"login"<tab>"<smtp-Benutzername>"<tab>"<smtp-Kennwort>"