Search found 8 matches

by gathlete
Mon Jan 29, 2024 4:12 am
Forum: Bug report
Topic: improvement suggestion.
Replies: 0
Views: 9181

improvement suggestion.

vesta/func/remote.sh there is a potential issue in the is_procces_running function. The function checks if the current script is already running by comparing the process IDs (PIDs) of all running instances of the script. If a matching PID is found, the function returns an error message indicating t...
by gathlete
Mon Jan 29, 2024 4:05 am
Forum: Bug report
Topic: bug- vesta/func /rebuild.sh (typo)
Replies: 0
Views: 9242

bug- vesta/func /rebuild.sh (typo)

a bug in the rebuild_user_conf function. The bug is related to the shadow_str variable, which is used to update the password in the /etc/shadow file. The code incorrectly assigns the value of MD5 to shadow_str instead of the actual password hash.. bug is a typo in the code. updated code: please revi...
by gathlete
Mon Jan 29, 2024 3:57 am
Forum: Bug report
Topic: bug -vesta/func/ip.sh
Replies: 0
Views: 8876

bug -vesta/func/ip.sh

vesta/func/ip.sh The code seems to have a bug in the get_ip_iface function -causing incorrect calculation of the n variable, which is used to determine the interface number. This bug can lead to incorrect interface names being returned. fix? Instead of adding 1 to the i variable, we should increment...
by gathlete
Wed Jan 17, 2024 12:07 am
Forum: Bug report
Topic: bug in add_mysql_database - vesta/func /db.sh
Replies: 0
Views: 9761

bug in add_mysql_database - vesta/func /db.sh

please review vesta/func /db.sh bug is caused by an incorrect conditional statement in the add_mysql_database function. the condition checks if the MySQL version is greater than or equal to 8, but the logic is incorrect. to fix the bug, we need to correct the conditional statement in the add_mysql_d...
by gathlete
Wed Jan 17, 2024 12:01 am
Forum: Bug report
Topic: bug in printf (handle_parameters.sh)
Replies: 0
Views: 8711

bug in printf (handle_parameters.sh)

Code: Select all

vesta/func/handle_parameters.sh
original:

Code: Select all

     printf -v "$var" '%s' "$val"
new:

Code: Select all

    printf -v $var '%s' "$val"
y removing the brackets from thevariable will eable the printf command to correctly assign the value to the variable..
by gathlete
Tue Jan 16, 2024 1:19 pm
Forum: Bug report
Topic: Bug in /web/generate/ssl/
Replies: 9
Views: 58598

Bug in /web/generate/ssl/

The error might be in vesta/web/generate/ssl/index.php I have identified a bug that causes the SSL certificate generation to fail. The bug lies in the following line of code: exec (VESTA_CMD."v-generate-ssl-cert ".$v_domain." ".$v_email." ".$v_country." ".$v_s...
by gathlete
Tue Jan 16, 2024 12:50 pm
Forum: Bug report
Topic: TYPO ERRORS
Replies: 1
Views: 9621

TYPO ERRORS

I hope im on the right track... 1. vesta/web/edit/package/index.php has an typo line 110 if (empty($_POST['v_shell'])) $errrors[] = __('shell'); need to change errrors to errors 2. vesta/web/file_manager/fm_core.php The code seems to have a bug in the delete Item method. When this method is called, ...
by gathlete
Sun Jan 07, 2024 11:12 am
Forum: Bug report
Topic: ?code
Replies: 1
Views: 10413

?code

web/inc/secure_login.php i just looked at this file. The bug may be causing false positives or false negatives, leading to unexpected behavior or blocking legitimate requests. Upon reviewing the code, I have identified a potential bug in the prevent_post_csrf function. In the line $_SERVER['HTTP_POR...