=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== mysql-sandbox-3.2.05/bin/deploy_to_remote_sandboxes.sh-128-echo "#!/bin/bash" > $BUILD_SB mysql-sandbox-3.2.05/bin/deploy_to_remote_sandboxes.sh:129:echo 'SANDBOX_EXISTS=$(for P in `echo $PATH | tr ":" " "` ; do if [ -f $P/make_sandbox ] ; then echo $P/make_sandbox ; fi; done)' >> $BUILD_SB mysql-sandbox-3.2.05/bin/deploy_to_remote_sandboxes.sh-130-echo 'if [ -z "$SANDBOX_EXISTS" ] ; then hostname; echo "make_sandbox not found in PATH" ; exit 1; fi' >> $BUILD_SB ############################################## mysql-sandbox-3.2.05/bin/low_level_make_sandbox-218- my $tmp_conf_file = "$ENV{TMPDIR}/msandboxrc.cnf"; mysql-sandbox-3.2.05/bin/low_level_make_sandbox:219: my $result = system (qq( cat $ENV{'HOME'}/.msandboxrc $msb->{options}{'conf_file'} > $tmp_conf_file )); mysql-sandbox-3.2.05/bin/low_level_make_sandbox-220- if ($result) { ############################################## mysql-sandbox-3.2.05/bin/low_level_make_sandbox-645- if ( -x "$sandbox_directory/stop") { mysql-sandbox-3.2.05/bin/low_level_make_sandbox:646: system("$sandbox_directory/stop"); mysql-sandbox-3.2.05/bin/low_level_make_sandbox-647- } ############################################## mysql-sandbox-3.2.05/bin/low_level_make_sandbox-652- #if ( -f "$sandbox_directory/clear") { mysql-sandbox-3.2.05/bin/low_level_make_sandbox:653: # system("$sandbox_directory/clear"); mysql-sandbox-3.2.05/bin/low_level_make_sandbox-654- #} mysql-sandbox-3.2.05/bin/low_level_make_sandbox-655- #if ( -d "$sandbox_directory/data/mysql") { mysql-sandbox-3.2.05/bin/low_level_make_sandbox:656: # system("rm -rf $sandbox_directory/data/mysql"); mysql-sandbox-3.2.05/bin/low_level_make_sandbox-657- #} ############################################## mysql-sandbox-3.2.05/bin/low_level_make_sandbox-988- { mysql-sandbox-3.2.05/bin/low_level_make_sandbox:989: $query .= "select plugin_name, plugin_version, plugin_status from information_schema.plugins where plugin_name = '$plugin_name';\n"; mysql-sandbox-3.2.05/bin/low_level_make_sandbox-990- } ############################################## mysql-sandbox-3.2.05/bin/make_multiple_custom_sandbox-184- or ($additional_node_options =~ /\binteractive\b/)) { mysql-sandbox-3.2.05/bin/make_multiple_custom_sandbox:185: system($install_node_command); mysql-sandbox-3.2.05/bin/make_multiple_custom_sandbox-186- } ############################################## mysql-sandbox-3.2.05/bin/make_multiple_sandbox-226- or ($additional_node_options =~ /\binteractive\b/)) { mysql-sandbox-3.2.05/bin/make_multiple_sandbox:227: system($install_node_command); mysql-sandbox-3.2.05/bin/make_multiple_sandbox-228- } ############################################## mysql-sandbox-3.2.05/bin/make_multiple_sandbox-368- mysql-sandbox-3.2.05/bin/make_multiple_sandbox:369: my $result = system($circular_replication_script); mysql-sandbox-3.2.05/bin/make_multiple_sandbox-370- if ($result) { ############################################## mysql-sandbox-3.2.05/bin/make_replication_sandbox-288- or ($additional_master_options =~ /\binteractive\b/)) { mysql-sandbox-3.2.05/bin/make_replication_sandbox:289: my $result = system($install_master_command); mysql-sandbox-3.2.05/bin/make_replication_sandbox-290-} ############################################## mysql-sandbox-3.2.05/bin/make_replication_sandbox-330- or ($additional_slave_options =~ /\binteractive\b/)) { mysql-sandbox-3.2.05/bin/make_replication_sandbox:331: system($install_slave_command); mysql-sandbox-3.2.05/bin/make_replication_sandbox-332- } ############################################## mysql-sandbox-3.2.05/bin/make_sandbox-67- { mysql-sandbox-3.2.05/bin/make_sandbox:68: exec ( "make_sandbox_from_url", $where_to_install, '--', @ARGV) ; mysql-sandbox-3.2.05/bin/make_sandbox-69- } ############################################## mysql-sandbox-3.2.05/bin/make_sandbox-71- { mysql-sandbox-3.2.05/bin/make_sandbox:72: exec ( "make_sandbox_from_url", $where_to_install) ; mysql-sandbox-3.2.05/bin/make_sandbox-73- } ############################################## mysql-sandbox-3.2.05/bin/make_sandbox-221- $tar_file =~ s{^.*/}{}; mysql-sandbox-3.2.05/bin/make_sandbox:222: my $result = system("gunzip -c $tar_file | $tar_executable -xf -"); mysql-sandbox-3.2.05/bin/make_sandbox-223- if ($result) { ############################################## mysql-sandbox-3.2.05/bin/make_sandbox_from_source-281- my ($dir) = @_; mysql-sandbox-3.2.05/bin/make_sandbox_from_source:282: system ("rm -rf $dir"); mysql-sandbox-3.2.05/bin/make_sandbox_from_source-283-} ############################################## mysql-sandbox-3.2.05/bin/make_sandbox_from_url-49-{ mysql-sandbox-3.2.05/bin/make_sandbox_from_url:50: get_help("This operating system ($^O) is not supported"); mysql-sandbox-3.2.05/bin/make_sandbox_from_url-51-} ############################################## mysql-sandbox-3.2.05/bin/msb-227- print "EXECUTING $cmd\n" if $DEBUG; mysql-sandbox-3.2.05/bin/msb:228: my $result = system($cmd); mysql-sandbox-3.2.05/bin/msb-229- if ($result) { ############################################## mysql-sandbox-3.2.05/bin/sbtool-294- } mysql-sandbox-3.2.05/bin/sbtool:295: my $HAS_UPDATES=`grep log_slave_updates $dir/node$mid_node/my.sandbox.cnf`; mysql-sandbox-3.2.05/bin/sbtool:296: my $HAS_REPORT=`grep "report-host" $dir/node$mid_node/my.sandbox.cnf`; mysql-sandbox-3.2.05/bin/sbtool-297- ############################################## mysql-sandbox-3.2.05/bin/sbtool-339- my ($dir, $node, $restart, $master_port, $this_node_port) = @_; mysql-sandbox-3.2.05/bin/sbtool:340: my $HAS_REPORT=`grep "report-host" $dir/node$node/my.sandbox.cnf`; mysql-sandbox-3.2.05/bin/sbtool-341- unless ($HAS_REPORT) { ############################################## mysql-sandbox-3.2.05/bin/sbtool-643- } mysql-sandbox-3.2.05/bin/sbtool:644: $source_version = `$source_dir/use -B -N -e "select version()"`; mysql-sandbox-3.2.05/bin/sbtool-645- system "$source_dir/stop"; ############################################## mysql-sandbox-3.2.05/bin/sbtool-654- } mysql-sandbox-3.2.05/bin/sbtool:655: $dest_version = `$dest_dir/use -B -N -e "select version()"`; mysql-sandbox-3.2.05/bin/sbtool-656- system "$dest_dir/stop"; ############################################## mysql-sandbox-3.2.05/bin/sbtool-713- } mysql-sandbox-3.2.05/bin/sbtool:714: system("rm -rf $source"); mysql-sandbox-3.2.05/bin/sbtool-715- if ($CHILD_ERROR or $OS_ERROR) ############################################## mysql-sandbox-3.2.05/bin/sbtool-724- $CHILD_ERROR = 0; mysql-sandbox-3.2.05/bin/sbtool:725: system($cmd1); mysql-sandbox-3.2.05/bin/sbtool-726- if ($CHILD_ERROR or $OS_ERROR) ############################################## mysql-sandbox-3.2.05/bin/sbtool-730- print "$cmd2\n" if $msb->{options}{verbose}; mysql-sandbox-3.2.05/bin/sbtool:731: system($cmd2); mysql-sandbox-3.2.05/bin/sbtool-732- if ($CHILD_ERROR or $OS_ERROR) { ############################################## mysql-sandbox-3.2.05/bin/sbtool-734- } mysql-sandbox-3.2.05/bin/sbtool:735: system("rm -rf $source"); mysql-sandbox-3.2.05/bin/sbtool-736- if ($CHILD_ERROR or $OS_ERROR) ############################################## mysql-sandbox-3.2.05/bin/test_sandbox-196-if ( -x $sh_stop_all ) { mysql-sandbox-3.2.05/bin/test_sandbox:197: system("$sh_stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox-198-} ############################################## mysql-sandbox-3.2.05/bin/test_sandbox-217-if ( -x $sh_stop_all ) { mysql-sandbox-3.2.05/bin/test_sandbox:218: system("$sh_stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox-219- system qq(rm -rf $sandbox_home) ; ############################################## mysql-sandbox-3.2.05/bin/test_sandbox-1360- ok ($ports_range =~ /5201/, 'ports range 2'); mysql-sandbox-3.2.05/bin/test_sandbox:1361: system("$sandbox_home/stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox:1362: system("$sandbox_home/second_sb/start > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox-1363- ############################################## mysql-sandbox-3.2.05/bin/test_sandbox-1431- mysql-sandbox-3.2.05/bin/test_sandbox:1432: system("$sandbox_home/send_kill_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox:1433: system("$sandbox_home/clear_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/bin/test_sandbox-1434-} ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-56-#then mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:57:# echo "[`basename $0`] - `date "+%Y-%m-%d %H:%M:%S"` - $@" >> $SBINSTR mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-58-#fi ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1252-fi mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1253:MYSQLD_SAFE_OK=`sh -n $BASEDIR/$MYSQLD_SAFE 2>&1` mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1254-if [ "$MYSQLD_SAFE_OK" == "" ] ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1421-then mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1422: MYPID=`cat $PIDFILE` mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1423- echo "Attempting normal termination --- kill -15 $MYPID" ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1584-then mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1585: for D in `echo "show databases " | ./use -B -N | grep -v "^mysql$" | grep -iv "^information_schema$" | grep -iv "^performance_schema" | grep -ivw "^sys"` mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1586- do ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1589- VERSION=`./use -N -B -e 'select left(version(),3)'` mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1590: #if [ `perl -le 'print $ARGV[0] ge "5.0" ? "1" : "0" ' "$VERSION"` = "1" ] mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1591- #then ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1599- fi mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1600: if [ `perl -le 'print $ARGV[0] ge "5.1" ? "1" : "0" ' "$VERSION"` = "1" ] mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1601- then ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1630-rm -f data/*.err-old mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1631:#if [ `perl -le 'print $ARGV[0] ge "5.6" ? "1" : "0" ' "$VERSION"` = "1" ] mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1632-#then ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1641-# mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1642:if [ `perl -le 'print $ARGV[0] lt "8.0" ? "1" : "0" ' "$VERSION"` = "1" ] mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1643-then ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1787-# START UGLY WORKAROUND for grants syntax changes in 5.7.6 mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:1788:VERSION=`$MYSQL -u root -BN -e 'select version()' | perl -ne 'print $1 if /(\d+\.\d+\.\d+)/'` mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-1789-MAJOR=$(echo $VERSION | tr '.' ' ' | awk '{print $1}') ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2073- print "executing -- $dir/use_all $command\n" if $DEBUG; mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:2074: system(qq($dir/use_all "$command")); mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2075- } ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2077- print "executing -- $dir/use $command\n" if $DEBUG; mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:2078: system(qq(echo "$command" | $dir/use)); mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2079- } ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2082- print "-- executing $dir/${action}_all\n" if $DEBUG; mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:2083: system("$dir/${action}_all", @ARGV) mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2084- } ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2086- print "-- executing $dir/$action\n" if $DEBUG; mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm:2087: system("$dir/$action", @ARGV) mysql-sandbox-3.2.05/lib/MySQL/Sandbox/Scripts.pm-2088- } ############################################## mysql-sandbox-3.2.05/lib/MySQL/Sandbox.pm-101-then mysql-sandbox-3.2.05/lib/MySQL/Sandbox.pm:102: echo "[`basename $0`] - `date "+%Y-%m-%d %H:%M:%S"` - $@" >> $SBINSTR mysql-sandbox-3.2.05/lib/MySQL/Sandbox.pm-103-fi ############################################## mysql-sandbox-3.2.05/README.md-640-It requires the `--source_dir` and `--plugin` options to complete the task. mysql-sandbox-3.2.05/README.md:641:The plugin indicated must be defined in the plugin template file, which is by default installed in `$SANDBOX_HOME`. mysql-sandbox-3.2.05/README.md-642-Optionally, you can indicate a different plugin template with the `--plugin_file` option. mysql-sandbox-3.2.05/README.md:643:By default, sbtool looks for the plugin template file in the sandbox directory that is the target of the installation. If it is not found there, it will look at `$SANDBOX_HOME` before giving up with an error. mysql-sandbox-3.2.05/README.md-644- ############################################## mysql-sandbox-3.2.05/README.md-686- mysql-sandbox-3.2.05/README.md:687:The tests are not performed in the common `$SANDBOX_HOME` directory, but mysql-sandbox-3.2.05/README.md:688:on a separate directory, which by default is `$HOME/test_sb`. To avoid mysql-sandbox-3.2.05/README.md-689-interferences, before the tests start, the application runs the mysql-sandbox-3.2.05/README.md:690:`$SANDBOX_HOME/stop_all` command. mysql-sandbox-3.2.05/README.md-691-The test directory is considered to exist purely for testing purposes, and ############################################## mysql-sandbox-3.2.05/README.md-702-and the tests are performed on a temporary directory under mysql-sandbox-3.2.05/README.md:703:`$INSTALLATION_DIRECTORY/t/test_sb`. By default, version 5.6.26 is used. mysql-sandbox-3.2.05/README.md:704:If this version is not found in `$HOME/opt/mysql/`, the test is skipped. mysql-sandbox-3.2.05/README.md-705-You can override this option by setting the TEST\_VERSION environment variable. ############################################## mysql-sandbox-3.2.05/t/02_test_binaries.t-93- my ($command , $description) = @_; mysql-sandbox-3.2.05/t/02_test_binaries.t:94: my $result = system($command); mysql-sandbox-3.2.05/t/02_test_binaries.t-95- # warn "\n<$?><$result>\n"; ############################################## mysql-sandbox-3.2.05/t/innodb_plugin_install.sb.pl-137- if ($test->{type} eq 'exec') { mysql-sandbox-3.2.05/t/innodb_plugin_install.sb.pl:138: ok_exec( $test); mysql-sandbox-3.2.05/t/innodb_plugin_install.sb.pl-139- } ############################################## mysql-sandbox-3.2.05/t/replication_gtid.sb.pl-106- mysql-sandbox-3.2.05/t/replication_gtid.sb.pl:107:#my $executed_set = `$sandbox_home/$replication_dir/m -BN -e 'select \@\@global.gtid_executed'`; mysql-sandbox-3.2.05/t/replication_gtid.sb.pl-108-#chomp $executed_set; ############################################## mysql-sandbox-3.2.05/t/semi_synch_plugin_install.sb.pl-96- if ($test->{type} eq 'exec') { mysql-sandbox-3.2.05/t/semi_synch_plugin_install.sb.pl:97: ok_exec( $test); mysql-sandbox-3.2.05/t/semi_synch_plugin_install.sb.pl-98- } ############################################## mysql-sandbox-3.2.05/t/start_restart_arguments.sb.pl-41- mysql-sandbox-3.2.05/t/start_restart_arguments.sb.pl:42: ok_exec( $test); mysql-sandbox-3.2.05/t/start_restart_arguments.sb.pl-43- ok_exec({ ############################################## mysql-sandbox-3.2.05/t/Test_Helper.pm-109- $ENV{TAP_MODE} =1; mysql-sandbox-3.2.05/t/Test_Helper.pm:110: system ("$cmd --versions=$test_version "); mysql-sandbox-3.2.05/t/Test_Helper.pm-111-} ############################################## mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-182-if ( -x $sh_stop_all ) { mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:183: system("$sh_stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-184-} ############################################## mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-203-if ( -x $sh_stop_all ) { mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:204: system("$sh_stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-205- system qq(rm -rf $sandbox_home) ; ############################################## mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-1346- ok ($ports_range =~ /5201/, 'ports range 2'); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:1347: system("$sandbox_home/stop_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:1348: system("$sandbox_home/second_sb/start > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-1349- ############################################## mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-1417- mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:1418: system("$sandbox_home/send_kill_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox:1419: system("$sandbox_home/clear_all > /dev/null 2>&1"); mysql-sandbox-3.2.05/.pc/0004-autodetect-mysql-version-in-test_sandbox.patch/bin/test_sandbox-1420-}