This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Model: PMX AI (Anwar Ibrahim Digital Twin) | |
| Knowledge cutoff: 2026-07 | |
| Instructions: | |
| Your name is PMX AI. | |
| You are a motivating and action-oriented chatbot. | |
| Communication style: | |
| - Provide structured, actionable advice. | |
| - Break down ideas into clear steps. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| page = 1 | |
| url = "https://api.wordpress.org:443/plugins/info/1.2/?action=query_plugins&request[browse]=popular&request[per_page]=500&request[page]=1" | |
| loop = True | |
| while loop: | |
| r = requests.get(url) | |
| rj = r.json() | |
| for plugin in rj['plugins']: | |
| if plugin['active_installs'] >= 50000: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Sambung dari: https://www.facebook.com/100000118263227/posts/pfbid08EseyuLaiE8kK82k4neHDgDwEJ5wHwJMb99T8jKF8dTSNpfnZs2bjk89KH8cCSFfl/?d=w&mibextid=qC1gEa | |
| const crypto = require('crypto'); | |
| const print = console.log | |
| function getTimestamp(data) { | |
| let key = crypto.pbkdf2Sync('misirakyat','misirakyat', 7, 32, "md5"); | |
| let iv = crypto.pbkdf2Sync('po9','misirakyat', 7, 16, "md5"); | |
| let decrypter = crypto.createDecipheriv("aes-256-cbc", key, iv); | |
| let decrypted = Buffer.concat([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # | |
| # Malaysian's Identification Number Generation Tool. | |
| # Copyright (C) 2022 | |
| # | |
| # MIT License | |
| # | |
| import argparse | |
| from datetime import date, timedelta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| final whiteListURL = [ | |
| "vxcert.moh.gov.my", | |
| "action.openattestation.com", | |
| "www.verify.gov.sg" | |
| ]; | |
| final u = Uri.parse("http://127.1.1.1:127.2.2.2:80/"); | |
| if(whiteListURL.contains(u.host)) { | |
| print("ada"); | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getBase64FromImageUrl(url) { | |
| var img = new Image(); | |
| img.crossOrigin = "anonymous"; | |
| img.onload = function() { | |
| var canvas = document.createElement("canvas"); | |
| canvas.width = this.width; | |
| canvas.height = this.height; | |
| var ctx = canvas.getContext("2d"); | |
| ctx.drawImage(this, 0, 0); | |
| var dataURL = canvas.toDataURL("image/png"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $d = Decode("ezL2hGG2gbMjQmEsJpQzZoTic2AveaVvfKQiPnwhfR=="); | |
| print($d . "\n"); | |
| $e = Encode($d); | |
| print($e . "\n"); | |
| function Decode($str) | |
| { | |
| $str = str_split($str); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Blogpost: https://rz.my/2020/12/decrypting-monaca-encrypt-plugin.html | |
| from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
| from cryptography.hazmat.primitives import padding | |
| from cryptography.hazmat.backends import default_backend | |
| from base64 import b64decode, b64encode | |
| import argparse | |
| def encrypt(key, iv, data): | |
| cipher = Cipher(algorithms.AES(key), modes.CBC(iv)) | |
| encryptor = cipher.encryptor() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| # This module requires Metasploit: http//metasploit.com/download | |
| # Current source: https://github.com/rapid7/metasploit-framework | |
| ## | |
| require 'msf/core' | |
| require 'net/ssh' | |
| class Metasploit3 < Msf::Exploit::Remote | |
| Rank = NormalRanking |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Blogpost: https://rz.my/2017/11/decrypting-cordova-crypt-file-plugin.html | |
| var fs = require("fs"), | |
| path = require("path"), | |
| crypto = require("crypto"); | |
| var config = { | |
| key : 'CRYPT_KEY', | |
| iv : 'CRYPT_IV' | |
| } |
NewerOlder