403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/baberankings.com.bak/community/tools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/baberankings.com.bak/community/tools/pwg_rel_create.sh
#!/bin/bash

# +--------------------------------------------------------------------------+
# |                            pwg_rel_create.sh                             |
# +--------------------------------------------------------------------------+
# | author        : Pierrick LE GALL <http://le-gall.net/pierrick>           |
# | project       : Piwigo                                                   |
# +--------------------------------------------------------------------------+

if [ $# -lt 2 ]
then
  echo
  echo 'usage : '$(basename $0)' <tag> <version number>'
  echo
  exit 1
fi

tag=$1
version=$2

name=piwigo-$version

cd /tmp
if [ -e $name ]
then
  rm -rf $name
fi

if [ -e $version ]
then
  rm -rf $version
fi
mkdir $version

# cvs export -r $tag -d $version phpwebgallery
svn export http://piwigo.org/svn/tags/$tag $name
# creating mysql.inc.php empty and writeable
touch $name/include/mysql.inc.php
chmod a+w $name/include/mysql.inc.php

# find $name -name "*.php" \
#   | xargs grep -l 'branch 1.7' \
#   | xargs perl -pi -e "s/branch 1.7/${version}/g"

cd /tmp
for ext in zip # tar.gz tar.bz2
do
  file=$version/$name.$ext
  if [ -f $file ]
  then
    rm $name
  fi
done


zip -r   $version/$name.zip     $name
# tar -czf $version/$name.tar.gz  $name
# tar -cjf $version/$name.tar.bz2 $name

cd /tmp/$version
# md5sum p* >MD5SUMS

Youez - 2016 - github.com/yon3zu
LinuXploit