Kaynağa Gözat

add decryptor

andre 5 yıl önce
işleme
f1b06ea1db
1 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 7 0
      whmcs_decrypt.php

+ 7 - 0
whmcs_decrypt.php

@@ -0,0 +1,7 @@
+<?php
+require_once(__DIR__ . '/../../../init.php');
+$decrypt = localAPI('DecryptPassword', array('password2' => "$argv[1]"));
+if ($decrypt['result'] == 'success') {
+	   echo $decrypt['password'] . PHP_EOL;
+}
+