Commit Graph

43 Commits

Author SHA1 Message Date
Matthias Fischer
7e329483a1 backup.cgi: Cosmetic fix - mark backup files bold for better readability
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-06 11:10:50 +00:00
Michael Tremer
45a5df5a5e backup: Fork ISO job into the background in CGI script
In order to be able to run the ISO command on command line it is helpful
that the script does not go into background halfway through the process.

We should rather start it as a background job straight from the CGI
script.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-14 14:39:26 +01:00
Michael Tremer
a87366f5f4 backup.cgi: Use new system methods
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-10 14:30:51 +01:00
Jonatan Schlag
8186b37230 Hardcode theme to ipfire
This disables the theme support and makes it impossible to use any other
themes than the ipfire default theme.

The only intention of this patch is to hardcode the theme to ipfire.
To change any cgi we have is an ugly way, but the only way to do this
fast. The colour handling needs certainly to be improved as well, but
this will and should be done in other patches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-08 10:11:34 +00:00
Michael Tremer
a6c190818a backup: Fix deleting backup files
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-20 14:21:41 +01:00
Michael Tremer
614764e58a backup: Sanitise content of ADDON variable
References: #11830

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-13 15:03:59 +01:00
Michael Tremer
7f6257e0a4 backup: Sanitise FILE parameter
This parameter was passed to some shell commands without any
sanitisation which allowed an attacker who was authenticated to
the web UI to download arbitrary files from some directories
and delete any file from the filesystem.

References: #11830

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-13 15:03:59 +01:00
Alexander Marx
6f5487d711 deleted title of backup.cgi 2014-01-09 16:50:46 +01:00
Alexander Marx
4ede29562f Layout changes backup.cgi 2014-01-09 14:49:23 +01:00
Arne Fitzenreiter
eb7fff99fc backupiso: disable on arm (we have no iso).
and fix syntax error.
2013-02-15 19:16:06 +01:00
Jan Paul Tuecking
98e8c7b563 backup.cgi: Added Content-Length to show file status during download. 2011-04-15 02:26:16 +02:00
Christian Schmidt
6b8be0883b Ensure there is no false array entry inside the backup listing. 2010-12-15 18:58:11 +01:00
Christian Schmidt
26906d9823 Some more stderr fixes for the CGIs. 2010-12-15 18:45:59 +01:00
Christian Schmidt
363a19ee8c This fixes bug #0000711 dont know why this is back again was fixed with core28 2010-08-27 19:59:18 +02:00
Arne Fitzenreiter
19b01b74f9 Change that iptv-mac field could also empty for save 2009-10-06 21:09:52 +02:00
Jan Paul Tuecking
5504342a5e Edit backup.cgi, now prints sizes of backups in human readable format (MB) 2009-09-10 22:33:47 +02:00
Jan Paul Tuecking
c35ac55223 The backup.cgi displayed backups smaller than 1KB as 0KB.
Now backups smaller than 1KB are shown as 0.xx
2009-07-19 10:50:16 +02:00
maniacikarus
41708968ac Fixed Addon Backup delete problem 2009-04-02 18:32:31 +02:00
Daniel Glanzmann
b90a7e56fe added option to download and delete iso backup 2008-10-01 15:43:22 +02:00
Daniel Glanzmann
f31d3c1f23 added backupiso to gui 2008-09-30 00:30:21 +02:00
Maniacikarus
36dfbfcf81 Disabled debug messages in backup CGI 2008-08-10 16:20:41 +02:00
maniacikarus
2a1f6aa7a8 corrected 2 cgi issues
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1063 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-05 17:34:56 +00:00
maniacikarus
33e1f48cfb corrected some smaller bugs in some cgiŽs
added support for template in qos


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1043 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-11-01 13:12:56 +00:00
maniacikarus
d2b476e82d Fixed different File handling of IE7 and FF (Fullpath and Filename)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1016 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-28 08:34:42 +00:00
maniacikarus
98ab7f505a Fixed Backup CGI
Removed Kaspersky from Update Booster


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1006 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-27 12:51:42 +00:00
maniacikarus
a609bfb075 corrected mpfire stream url
changed some directories for backup


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1001 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-26 18:09:41 +00:00
maniacikarus
b8e5a9c576 Weiter am Backup gebastelt
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@979 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-19 16:21:32 +00:00
ms
30945c78a5 Kleinere fixes an der Backup Routine
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@977 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-18 19:51:15 +00:00
ms
5ad5a6bcd6 Korrekturen damit der Build wieder laeuft
MPFire fix damit der shuffle funktioniert
Backup der Addons weiter gebaut


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@975 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-16 18:35:15 +00:00
maniacikarus
901a50cfed MPFire CGI korrigiert
Backupfunktionen fuer Addons begonnen


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@974 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-15 19:36:15 +00:00
maniacikarus
8c384f979d CGIs angepasst damit das httpd log sauberer bleibt
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@938 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-03 11:10:43 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
maniacikarus
900832fa06 Alle Restartskripte umbenannt in CTRL Skripte
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@812 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-23 10:58:00 +00:00
maniacikarus
cb5e9c6c64 Debuginformationen aus den CGIs entfernt
Hoffentlich die letzten Config Types bereinigt
Samba und SSHd init Skripte angepasst
Pakfire CGI optisch angepasst


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@779 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-17 16:00:01 +00:00
maniacikarus
a97442adcd Backup funktioniert jetzt auch via Webinterface
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@768 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-14 18:55:35 +00:00
maniacikarus
69addbb810 Fuer den Urlfilter ein Background Image gemacht
MPFire erweitert
Samba Pagerefresh korrigiert
Tripwire Pagerefreh korrigiert
Backup CGI sollte jetzt fertig sein zum Testen
vpnmain die beiden SHA2 Crypts entfernt
Snort init nochmal angepasst damit die PID alleine angelegt wird


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@682 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-13 18:49:27 +00:00
maniacikarus
8e8bbd9da3 kleine Korrektur in der Samba CGI
IPFire Backup Loesung weiter gebaut
kleiner fix im dhcp init Skript


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@676 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-11 20:30:21 +00:00
maniacikarus
cf29614f54 Korrekturen im IDS System
Division by 0 in den grafischen Firewallogs unterbunden
Backup Loesung fuer IPFire angefangen
fehlende Perl Module ins MPFire Paket eingebunden
Writeipac auf neue Config Types angepasst


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@666 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-07-09 16:51:43 +00:00
ms
786f2c8a29 Firewallhitgraphs gefixt.
Colours.txt fehlt noch fuer unseren Style.
...und wieder einige Sprachfixes.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@457 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-03-25 04:05:41 +00:00
ms
986e08d996 Hinzugefügt:
* Morningreconnect Script
Geändert:
  * Neue Spamassassin Version. 3.1.3
  * Interface umfangreich bearbeitet in Layout und angezeigten Texten.
  * DHCP-Leases-Error gefixt
  * lq-Graph pingt nun nach www.heise.de
  * IP-Anzeige für PPPoE/DSL gefixt.
  * Connectionstate vom IPCop übernommen.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@164 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-06 19:12:22 +00:00
ms
78331e3019 Großes Update:
Hinzugefügt:
  * L7-Protokolle
Geändert:
  * XAMPP 1.5.1 --> 1.5.3
  * Sämtliche "IPCops" durch "IPFire" im Webinterface ersetzt
  * Einige Fixes, wegen Errors im Webinterface. (Im Forum zu finden.)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@148 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-05-31 10:09:27 +00:00
ms
ac1cfefab2 SMP-Config angepasst.. CGIs usw. wurden im Windoof-Format gespeichert... muss noch alles korrigiert werden...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@67 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-02-21 20:38:06 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00