Author Archives: admax

Clear opcache in PHP

If you are working on a shared environment and deleted PHP files keep around, check how to clear empty the cache… In this case we found the server used “opcache” so with the function opcache_reset() we can get rid of … Continue reading

Posted in Linux, Medium Technical | Tagged , , , , , | Comments Off on Clear opcache in PHP

One Click Monero Win Node

# One Click Monero Win Node #1 – download monero core + monero blockchain https://getmonero.org/downloads/ https://downloads.getmonero.org/cli/win64 https://downloads.getmonero.org/blockchain.raw #2 – import blockchain on custom dir, guard-against-pwnage=verify [only run with a trusted blockchain.raw] monero-blockchain-import –data-dir x:\Monero\ –guard-against-pwnage 0 –input-file blockchain.raw #3 – … Continue reading

Posted in Basic Technical, Cryptocurrency | Comments Off on One Click Monero Win Node

Android APK Modification

An APK file is a ZIP file with the files inside with certain structure so it can serve as installer. So for a basic modification, you can just rename the file to “.ZIP” extract the files and do whatever you … Continue reading

Posted in Android, Medium Technical | Tagged , , , , , , , | Comments Off on Android APK Modification

Install certificate as System on Android

Use OpenSSL to transform the certificate to Android format (that is cert+info) Extract ID using this command: openssl.exe x509 -inform PEM -subject_hash -in charles.pem It is the first line. Name the certificate ID.0 (Ex: ce554431.0) Extract certificate info using: openssl.exe … Continue reading

Posted in Android, Security | Tagged , , , | Comments Off on Install certificate as System on Android

jQuery lazy image loading…

Just a speed up trick, if you have lot of images or big images, to allow the browser to render and show the page before load the images you can do a “lazy” loading, that means that you load a … Continue reading

Posted in Medium Technical | Tagged , , | Comments Off on jQuery lazy image loading…

jQuery Playground: The base of AJAX

A very simple trick… HTML: <img id=”some-image” src=”http://domain.com/image.jpg” alt=”” width=”200″ height=”70″ /> Script: var someimage = jQuery(“img[id=’some-image’]”); jQuery.get( someimage.attr(“src”), function( ) { // Do something }); This (way of client requests) is the base of  AJAX/XMLHttpRequest, in this case is … Continue reading

Posted in Basic Technical | Tagged , , , | Comments Off on jQuery Playground: The base of AJAX

Speed UP WordPress [or any site]

If you use a shitty server/network or your wordpress theme/plugins/content combination is heavy you can speed up the loading on the side of the client and server side by using a plugin like “W3 Total Cache”; it could set easily … Continue reading

Posted in Medium Technical, Wordpress | Tagged , , , , , , , , | Comments Off on Speed UP WordPress [or any site]

Dump saved WIFI password from CMD

To dump some saved WIFI password on Windows just type: netsh wlan show profile name=[ssid] key=clear This will need a elevated command prompt and will also show other details that can be usefully on scripts, or similar… AC.

Posted in Basic Technical, Learned Today, Networking | Tagged , , , | Comments Off on Dump saved WIFI password from CMD

Disable local IP leak on Firefox – WebRTC

Avoid sites fetching your internal IP by disabling WebRTC… The native way: – Go to about:config and set “media.peerconnection.ice.default_address_only” to true And the old way: – Use a plugin like “Disable WebRTC” https://addons.mozilla.org/en-us/firefox/addon/happy-bonobo-disable-webrtc/ What is WebRTC and what does it … Continue reading

Posted in Medium Technical, Security | Tagged , , , | Comments Off on Disable local IP leak on Firefox – WebRTC

WordPress Proxy

Running WordPress on a internal network or something like that and want to handle all the internal connections with a proxy? Just edit the “wp-config.php” and add this: define(‘WP_PROXY_HOST’, ‘90.90.90.90’); define(‘WP_PROXY_PORT’, ‘3128’); define(‘WP_PROXY_USERNAME’, ‘username’); define(‘WP_PROXY_PASSWORD’, ‘password’); define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost, www.someurl.com’); References: … Continue reading

Posted in Medium Technical, Wordpress | Tagged , , , | Comments Off on WordPress Proxy