Saya sering lupa, jadi tulis aja di gist.
telnet 192.168.1.1
login: root
pass : Zte521
/**================================================ | |
* DateFormat version 1.1 (Prototype Version) | |
* Created: 08 September 2008 | |
* Modified: 01 December 2008 | |
* Created by: Zaenal - http://www.lokamaya.net | |
* ================================================ | |
* Copyright (c) 2008 Zaenal - http://www.lokamaya.net | |
* Some rights reserved. This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License. | |
* | |
* ================================================ |
/**================================================ | |
* DateFormat version 1.1 (Standard Version) | |
* Created: 08 September 2008 | |
* Modified: 01 December 2008 | |
* Created by: Zaenal - http://www.lokamaya.net | |
* ================================================ | |
* Copyright (c) 2008 Zaenal - http://www.lokamaya.net | |
* Some rights reserved. This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License. | |
* | |
* ================================================ |
/**================================================ | |
* InspectForm version 1.0 (for Prototype version 1.6 and above) | |
* Created: 11 December 2008 | |
* Created by: Zaenal - http://www.lokamaya.net | |
* ================================================ | |
* Copyright (c) 2008 Zaenal - http://www.lokamaya.net | |
* Some rights reserved. This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License. | |
* ================================================ | |
* Demo: http://code.lokamaya.net/inpectform/ | |
* Blog: http://blog.lokamaya.net |
<?php | |
/** | |
* An extension to modUser that allows Atlassian Crowd integration via SOAP. | |
* | |
* @todo Complete this class to handle all external user management tasks | |
* allowed with Crowd. | |
* | |
* @package modx | |
* @subpackage user.crowd | |
*/ |
<?php | |
$key = 'your-secret-key-here'; | |
$header = [ | |
'typ' => 'JWT', | |
'alg' => 'HS256' | |
]; | |
$header = json_encode($header); | |
$header = base64_encode($header); |