^

Top 20

Best Article Listing

[319][HTML]
Examples of HTML Forwarding and Page RefreshingRefresh the Page after 15 seconds<meta http-equiv="refresh" content="15">Redirection after 3 Seconds<meta http-equiv="refresh" content="3; url=http://url.com/">Redirect immidiately<meta http-equiv="refresh" content... To see full entry click on the link above!
[284][APIs / Youtube]
This Links will guide you to your Youtube Thumbnail:https://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpghttps://img.youtube.com/vi/<insert-youtube-video-id-here>/hqdefault.jpghttps://img.youtube.com/vi/<insert-youtube-video-id-here>/mqdefault.jpghttps://img.youtube.com/vi/<insert-youtube-video-id-he... To see full entry click on the link above!
[238][MySQL / Simple Operations]
Delete with Condition:DELETE FROM tablename WHERE a = 1;Delete all entries in a table:DELETE FROM tablename;... To see full entry click on the link above!
[206][Networking / IpTables]
USE WITH OWN RISK - ALL FIREWALL RULES WILL BE DELETED#!/bin/shiptables -Fiptables -Xiptables -t nat -Fiptables -t nat -Xiptables -t mangle -Fiptables -t mangle -Xiptables -P INPUT ACCEPTiptables -P FORWARD ACCEPTiptables -P OUTPUT ACCEPT... To see full entry click on the link above!
[204][Android-Java / Hints]
Passing the parameterIntent intent= new Intent(mContext,Activity.class);intent.putExtra("test","value"));Get valueIntent intent=getIntent();msg_textview.setText(intent.getStringExtra("test"));... To see full entry click on the link above!
[200][Android-Java / Hints]
This may fix this error ---javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x6abff398:Failure in SSL library, usually a protocol error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:7440x684dfce0:0x00000000)Add this to your C... To see full entry click on the link above!
[189][Android-Java / Hints]
This is Example for Internet PermissionsAndroid Manifest XML (for every Permissoin u need one of this fitting block)    <!-- Declare Use Of Internet -->        <uses-permission android:name="android.permission.INTERNET"/>Java Content:if (ContextCompat.checkSel... To see full entry click on the link above!
[178][Android-Java / Hints]
In Constructorsuper.onCreate(savedInstanceState);// Disable ScreenshotsgetWindow().setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE);setContentView(R.layout.activity_main);... To see full entry click on the link above!
[178][HTACCESS]
Enter this in your Websites .htaccess main directory to let the server redirectHTTP404 Errors or misc to a specified site.ErrorDocument 400 /error/400.phpErrorDocument 401 /error/401.phpErrorDocument 403 /error/403.htmlErrorDocument 404 /error/404.phpErrorDocument 500 /error/405.php This is just an example where for 404 e... To see full entry click on the link above!
[165][HTACCESS]
If you put this in your htaccess, the server will forward all request from HTTP to HTTPS(with all details after the domain included like get variables)It will also rewrite all www.yourdomain.de requests to yourdomain.de.So its not possible to create 2 sessions on the same website.Replace yourdomain.de with your own domain which is needed.... To see full entry click on the link above!
[140][SEO / Sitemap]
This is the Mail Layout of a sitemap.xml File<?xml version="1.0" encoding="UTF-8"?><urlset      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      ... To see full entry click on the link above!
[128][Android-Java / File Operations]
Write a File in Android to Internal Storage from Stringvoid writeFile(String data, Context context, String filename) throws IOException { OutputStreamWriter outStream = new OutputStreamWriter(context.openFileOutput(filename, Context.MODE_PRIVATE)); outStream.write(data); outStream.close();}... To see full entry click on the link above!
[128][C-Sharp / Hints]
 Here the code to get the current Directory!string path = Directory.GetCurrentDirectory();See more detailed Info here:https://docs.microsoft.com/de-de/dotnet/api/system.io.directory.getcurrentdirectory?view=netcore-3.1  ... To see full entry click on the link above!
[124][Android-Java / XML Styling]
<FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" app:layout_constraintTop_toBottomOf="@+id/main_topbar"> <VideoView android:id="@+id/videoViewMain" android:layout_width="match_parent" android:layout_heig... To see full entry click on the link above!
[121][Penetration-Testing / Denial Of Service]
A forkbomb is a denial of service bash command that blocks the server, duo to high cpu load.The script is creating a recursive function and is infinitly launching itself - so the system will be blocked.Usefull for testing vHosts which are sharing ressources if high load is affecting other hosts.(Thats the only thing that i could figure out ... To see full entry click on the link above!
[121][PHP / URL Request Handling]
 Modify your HTaccess File like this if index.php is your main php File:RewriteEngine OnRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?i=$1 [L,QSA]  For example, if the user enters the URL yourdomain.ending/wiki/testcategorieyou can fetch the ... To see full entry click on the link above!
[121][Android-Java / Hints]
Here a simple Download Manager Class. Use like this:  DownloadManager DM = new DownloadManager();  DM.init(....);  DM.execute();Here the Class:import android.os.AsyncTask;import java.io.File;import java.io.FileOutputStream;import java.io.InputStream;import java.io.PrintWriter;import java.net.Http... To see full entry click on the link above!
[118][Penetration-Testing / Denial Of Service]
Slowloris is a Denial of Service attack tool that starts a lot of HTTP requeststo take down its target. A weak server can be taken down with a single pc if you haveenough CPU power and enough threads running. But thats not guaranteed.Has been tested and approved as working for small web servers with > 10 users.The connection to the ser... To see full entry click on the link above!
[116][Penetration-Testing / Compromising]
Airgeddon is a multi use wireless audit tool.Its possible to pentest WEP and WPA2 Networks. Its included into a security parrot and KALI installation. The main features are Evil Twin Attacks/ Package Capturing and there is a Bruteforce Cracker included with aircrack-ng - but for better performance you should use something like hashcat with GPU su... To see full entry click on the link above!
[116][Android-Java / File Operations]
 Simple Code to read a File in Android (FROM INTERNAL STORAGE) to a StringString readFile(Context context, String filename) throws IOException { String ret = ""; InputStream inStream = context.openFileInput(filename); if ( inStream != null ) { InputStreamReader inputStreamReader = new InputStreamReader... To see full entry click on the link above!

This Website is using Session Cookies for Site Functionality and AWStats.
Radio