Git Product home page Git Product logo

firebirdwebadmin's Introduction

FirebirdWebAdmin is a web frontend for the Firebird database server

Crowdin Code Climate

By now it has the functionalities for

  • creating, deleting, modifying databases, tables, generators, views, triggers, domains, indices, stored procedures, udf's, exceptions, roles and database users
  • performing sql expressions on databases and display the results
  • import and export of data through files in the csv format
  • browsing through the contents of tables and views, watching them growing while typing in data
  • selecting data for deleting and editing while browsing tables
  • inserting, deleting, displaying the contents of blob fields
  • diplaying database metadata, browsing the firebird system tables
  • database backup and restore, database maintenance

Some of the features are only available if the database- and the web-server are running on the same machine. The reason is that php have to call the Firebird tools (isql, gsec, gstat, etc.) to perform certain actions.

Overview

  1. Documentation
  2. Requirements
  3. ChangeLog
  4. Contributing
  5. Copyright notice

Documentation

There is no documentation available yet, but if you are familiar with Firebird you will have no troubles using FirebirdWebAdmin.

For some basic configuration settings have a look to the file ./inc/configuration.inc.php before you start the programm.

Here is how to use and install on Ubuntu https://help.ubuntu.com/community/Firebird3.0

Firebird documentation is located on this page https://www.firebirdsql.org/en/documentation/

Requirements

This is the environment I'm using for the development. Other components are not or less tested. So if you got problems make sure you are not using older software components.

PHP with compiled in support for Firebird/InterBase and pcre (but any version >= 5.5 should work)

Firebird 2.x.x for Linux, Apache 2.x or any server with php support

ChangeLog

Version 3.4.1 (27.02.2020)

  • [enhancement:] Adjust "Accessories" page UI.
  • [enhancement:] Remove Crowdin badge from footer.
  • [enhancement:] Update debug_funcs.inc.php
  • [bugfix:] Don't warn if "isql" is "isql-fb" on Linux
  • [typo:] Correct typo: firebirid -> firebird
  • [bugfix] fix sql create database
  • [enhancement:] Add Character Sets
  • [enhancement:] Quiet PHP7.2 deprecation warning …
  • [enhancement:] Further create_function refactor
  • [enhancement:] Remove unused/outdated markableFbwaTable.
  • [enhancement:] cosmetics

Further informations

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright notice

(C) 2000,2001,2002,2003,2004 Lutz Brueckner [email protected] Kapellenstr. 1A 22117 Hamburg, Germany

FirebirdWebAdmin is published under the terms of the GNU GPL v.2, please read the file LICENCE for details.

This software is provided 'as-is', without any expressed or implied warranty. In no event will the author be held liable for any damages arising from the use of this software.

firebirdwebadmin's People

Contributors

dumitru avatar fragote avatar gilcierweb avatar lsces avatar mapopa avatar mariuz avatar mipaaa avatar natanprog avatar robert-scheck avatar valmorflores avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firebirdwebadmin's Issues

gui (ide)

Good afternoon!
I gotaria to know what gui ( ide ) you used to develop the firebirdwebadmin .
from already thank you ..

PHP Fatal error: Uncaught Error: Call to undefined function split()

Hi,
Other PHP 7 issue:
[Thu Jul 13 09:50:38.446142 2017] [:error] [pid 9682] [client 127.0.0.1:38358] PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/firebirdwebadmin/inc/debug_funcs.inc.php:27\nStack trace:\n#0 /var/www/html/firebirdwebadmin/views/footer.php(30): show_time_consumption('0.44567700 1499...', '0.44611700 1499...')\n#1 /var/www/html/firebirdwebadmin/inc/script_end.inc.php(80): require_once('/var/www/html/f...')\n#2 /var/www/html/firebirdwebadmin/sql.php(230): require('/var/www/html/f...')\n#3 {main}\n thrown in /var/www/html/firebirdwebadmin/inc/debug_funcs.inc.php on line 27, referer: http://localhost/firebirdwebadmin/sql.php

Your php installation misses the interbase support!

I use 7.2.34 php version, where have interbase included. I try with other new versions, and no result.

This is the error i get every time:

Warning: Use of undefined constant IBASE_COMMITTED - assumed 'IBASE_COMMITTED' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 137

Warning: Use of undefined constant IBASE_NOWAIT - assumed 'IBASE_NOWAIT' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 137

Warning: Use of undefined constant IBASE_READ - assumed 'IBASE_READ' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 137

Warning: Use of undefined constant IBASE_COMMITTED - assumed 'IBASE_COMMITTED' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 138

Warning: Use of undefined constant IBASE_NOWAIT - assumed 'IBASE_NOWAIT' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 138

Warning: Use of undefined constant IBASE_WRITE - assumed 'IBASE_WRITE' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\inc\configuration.inc.php on line 138
Your php installation misses the interbase support!
Recompile php and configure --with-interbase[=DIR]
or edit your php.ini to load interbase.so respectively interbase.dll.

Suggestion: Try to convert BLOB in text on Sql page

Hi,

I have queries return with BLOB columns, but the BLOB is portable to String/text.
If possible try to convert BLOB to String in Select return.

The column "MON$SQL_TEXT" from is an example:
SELECT * FROM MON$STATEMENTS;

Is string but I got BLOB.

Thanks...

[security vulnerability] Cross-Site Scripting (XSS) vulnerabilities

Recently, our team found a reflected cross-site scripting (XSS) vulnerability
The vulnerability logic is present in the file:
https://github.com/mariuz/firebirdwebadmin/blob/master/panels/tb_droptables.php#L26

image

The echo directly outputs the parameter $_POST['drop_tables'] without any sanitization. This makes it susceptible to Cross-Site Scripting (XSS) attacks. As a result, attackers can exploit this vulnerability by injecting malicious html code with $_POST['drop_tables']

To fix this vulnerability, we recommend that developers implement properly sanitize (e.g., htmlspecialchars()) for user input before displaying it on the webpage.

Problems with SET TERM !! ;

Hi,

I have problems with blocks like:

SET TERM !! ;
EXECUTE BLOCK AS
BEGIN
--something
END!!
SET TERM ; !!

Thanks...

Doens't matter character set

Doens't matter character set, the data always come with strange caracters. eg.:"GOI�S VELHO" should be "GOIÁS VELHO" the data is WIN1252

[security vulnerability] Cross-Site Scripting (XSS) vulnerabilities

Recently, our team found a reflected cross-site scripting (XSS) vulnerability
The vulnerability logic is present in the file:
https://github.com/mariuz/firebirdwebadmin/blob/master/panels/tb_dropfields.php#L21

image

The echo directly outputs the parameter $_POST['drop_cols'] without any sanitization. This makes it susceptible to Cross-Site Scripting (XSS) attacks. As a result, attackers can exploit this vulnerability by injecting malicious html code with $_POST['drop_cols']

To fix this vulnerability, we recommend that developers implement properly sanitize (e.g., htmlspecialchars()) for user input before displaying it on the webpage.

Parse error: syntax error, unexpected '.', expecting ')' in /firebird/inc/functions.inc.php on line 1292

Hello,

i tried to install firebirdwebadmin 3.4.1 over my existing 3.4.0 installation.
i just remove old 3.4.0 files and add new 3.4.1 from today and edit the configuration.inc.php file.

but i got this error accessing the web gui:

Parse error: syntax error, unexpected '.', expecting ')' in /var/www/telematica/firebird/inc/functions.inc.php on line 1292

i believe it could correlate with that: #29

do you have any solution for this?
thank you for your help.

Use of undefined constant IBASE_COMMITTED

Hi Mariuz,

I've been trying to use your webAdming app under Ubuntu 11 in AWS EC2.

I've installed php 5.5.3-lubuntu2, interbase, apache and configurated following these instructions https://help.ubuntu.com/community/Firebird2.5

Unfortunately after all this I'm still getting this errors:

Use of undefined constant IBASE_READ - assumed 'IBASE_READ' in /var/www/firebirdwebadmin/inc/configuration.inc.php on line 199, referer: http://54.204.16.181/firebirdwebadmin/

The same with IBASE_COMMITTED, IBASE_NOWAIT,

Truly appreciated for any hint or advice

Thanks in advance

Kind regards

ReferenceError: markableFbwaTable

Hi,

Sometimes I have this error:JavaScript error: http://localhost/firebirdwebadmin/sql.php, line 209: ReferenceError: markableFbwaTable is not defined

I this reference existence test before or reference initialization solve this.
I did not found the source of problem, the code is newer for me.

Thanks...

[security vulnerability] Cross-Site Scripting (XSS) vulnerabilities

Recently, our team found a reflected cross-site scripting (XSS) vulnerability
The vulnerability logic is present in the file:
https://github.com/mariuz/firebirdwebadmin/blob/master/panels/tb_dropfields.php#L27

image

The echo directly outputs the parameter $_POST['drop_cols'] without any sanitization. This makes it susceptible to Cross-Site Scripting (XSS) attacks. As a result, attackers can exploit this vulnerability by injecting malicious html code with $_POST['drop_cols']

To fix this vulnerability, we recommend that developers implement properly sanitize (e.g., htmlspecialchars()) for user input before displaying it on the webpage.

PHP7

FirebirdWebAdmin doesn't work with PHP7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.