bitslip6/bitfire

View on GitHub

Showing 749 of 749 total issues

Call to undeclared function \serve_database()
Open

                serve_database();
Severity: Critical
Found in firewall/src/bitfire.php by phan

Call to undeclared function \BitfirePRO\block_plugin_enumeration()
Open

            \BitfirePRO\block_plugin_enumeration($this->_request)->run();
Severity: Critical
Found in firewall/src/bitfire.php by phan

Possible attempt to access missing magic method __invoke of '\ThreadFin\MaybeI'
Open

                    $_POST = un_json($maybe_bot_cookie->extract('p', $_POST['_bfp'] ?? "")());
Severity: Info
Found in firewall/src/botfilter.php by phan

Possibly zero references to use statement for function json_to_file_effect (\BitFire\Pure\json_to_file_effect)
Open

use function BitFire\Pure\json_to_file_effect;
Severity: Minor
Found in firewall/src/botfilter.php by phan

Call to undeclared function \your_auth_function()
Open

    if (function_exists('your_auth_function') && your_auth_function($_COOKIE['your_auth_token'])) {
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \wp_add_inline_script()
Open

    wp_add_inline_script("bitfire_mfa_focus", "document.getElementById('bitfire_mfa').focus();");
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \esc_attr()
Open

        esc_attr($_POST["login"]),
Severity: Critical
Found in custom-plugin/bitfire-plugin.php by phan

Call to undeclared function \TF\partial_right() (Did you mean \ThreadFin\partial_right())
Open

        $hash3 = array_map(\TF\partial_right("validate_hash", $db), $hash2);
Severity: Critical
Found in firewall/hash_compare.php by phan

Variable $effect is undeclared
Open

    return $effect->api($success, "upgraded with [$dest] in [$cwd]");
Severity: Minor
Found in firewall/src/api.php by phan

Suspicious array access to nullable ?array
Open

            debug("clean %d len: %d", $posts->count(), strlen($posts->data()[0]["post_content"]));
Severity: Minor
Found in firewall/src/api.php by phan

Assigning ?array to property but \BitFire\MatchType->_value is string
Open

        $this->_value = $value;
Severity: Minor
Found in firewall/src/bitfire.php by phan

Suspicious array access to nullable ?array
Open

            if ($n['t'] < time()) { $n['h']=$this->_request->host; http2("POST", APP."zxf.php", base64_encode(json_encode($n))); $n['v']=BITFIRE_VER;$n['c']=0; $n['t']=time()+DAY; unset($n['host']); }
Severity: Minor
Found in firewall/src/bitfire.php by phan

Variable $params was undeclared, but array fields are being added to it.
Open

        $params['http']['content'] = $content;
Severity: Info
Found in bin/bitfire-install.php by phan

Possibly zero references to use statement for function ends_with (\ThreadFin\ends_with)
Open

use function ThreadFin\ends_with;
Severity: Minor
Found in custom-plugin/includes.php by phan

Call to method row from undeclared class \DB\SQL (Did you mean class \ThreadFinDB\SQL)
Open

        $sz = $sql->row($i)->extract($search_col)->value('int');
Severity: Critical
Found in firewall/hash_compare.php by phan

Call to undeclared function \TF\un_json() (Did you mean \ThreadFin\un_json())
Open

$in = \TF\un_json(base64_decode($s));
Severity: Critical
Found in firewall/hash_compare.php by phan

Call to undeclared function \TF\contains() (Did you mean \ThreadFin\contains())
Open

if (\TF\contains($encoding, "br") && function_exists("brotli_compress")) {
Severity: Critical
Found in firewall/hash_compare.php by phan

Call to undeclared function \TF\contains() (Did you mean \ThreadFin\contains())
Open

else if (\TF\contains($encoding, "gzip") && function_exists("gzencode")) {
Severity: Critical
Found in firewall/hash_compare.php by phan

Possibly zero references to use statement for function update_ini_fn (\BitFireSvr\update_ini_fn)
Open

use function BitFireSvr\update_ini_fn;
Severity: Minor
Found in firewall/src/api.php by phan

Possibly zero references to use statement for function find_fn (\ThreadFin\find_fn)
Open

use function ThreadFin\find_fn;
Severity: Minor
Found in firewall/src/api.php by phan
Severity
Category
Status
Source
Language