diff --git a/.htac_404.php b/.htac_404.php new file mode 100644 index 0000000..353538e --- /dev/null +++ b/.htac_404.php @@ -0,0 +1,52 @@ + + +
+

SiliconPin - Tools

+
+ All + Image + Text + HTML + Color + Info + Encrypt / Decrypt +
+
+ 1)){ + try { + $conn = new PDO("mysql:host=$mariaServer;dbname=$mariaDb", $mariaUser, $mariaPass); + $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + $stmt = $conn->prepare("SELECT * FROM api_tools WHERE `type` = :type"); + $stmt->bindParam(':type', $requestUri); + $stmt->execute(); + $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); + // var_dump($rows); + foreach($rows as $row){ + // echo $row['name'].'
'; + if($row['status']==1){ + $link_button = '

'.$row['name'].'

'; + } else{ + $link_button = '

'.$row['name'].'

'; + } + echo ' +
+

'.$row['description'].'

+ '.$link_button.' +
'; + } + } catch (PDOException $e) { + $in_page_message = "

Error: " . $e->getMessage() . "

"; + } + }else{ + echo 'Page Not Found!'; + } + ?> +
+
\ No newline at end of file diff --git a/_home.php b/_home.php index 774391f..526a325 100644 --- a/_home.php +++ b/_home.php @@ -1,19 +1,20 @@ -
-

SiliconPin - Tools

-
- Image - Text - HTML - Color - Info - Encrypt / Decrypt +
+

SiliconPin - Tools

+ -
+
'; if($row['status']==1){ - $link_button = '

'.$row['name'].'

'; + $link_button = '

'.$row['name'].'

'; } else{ - $link_button = '

'.$row['name'].'

'; + $link_button = '

'.$row['name'].'

'; } echo ' -
-

'.$row['description'].'

+
+

'.$row['description'].'

'.$link_button.'
'; } @@ -40,63 +41,4 @@ require_once('.htac_header.php'); } ?>
-
- - \ No newline at end of file +
\ No newline at end of file diff --git a/base64-to-image-converter.php b/base64-to-image-converter.php index 6b53d43..f9c1e93 100644 --- a/base64-to-image-converter.php +++ b/base64-to-image-converter.php @@ -1,20 +1,21 @@ -
-

Convert Base64 to Image

- - - -
- + - - \ No newline at end of file + \ No newline at end of file diff --git a/color-shades-generator.php b/color-shades-generator.php index 1b7d8b7..46af652 100644 --- a/color-shades-generator.php +++ b/color-shades-generator.php @@ -2,7 +2,7 @@

Color Shades Generator

- +
@@ -99,14 +99,12 @@ max-width: 600px; width: 100%; padding: 20px; - background-color: #fff; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .color-shades-generator h1 { font-size: 36px; margin-bottom: 20px; - color: #333; } .color-input { width: 50px; diff --git a/dns-tools-get-a-record.php b/dns-tools-get-a-record.php new file mode 100644 index 0000000..68e9150 --- /dev/null +++ b/dns-tools-get-a-record.php @@ -0,0 +1,34 @@ +
+

Ultimate Domain & IP Lookup Tool

+
+ + +
+
+ +
+
+
 ',$output, '


'; + } else { + echo "Invalid domain."; + } + } + +?> + diff --git a/dns-tools-get-mx-record.php b/dns-tools-get-mx-record.php new file mode 100644 index 0000000..b550009 --- /dev/null +++ b/dns-tools-get-mx-record.php @@ -0,0 +1,34 @@ +
+

Ultimate Domain & IP Lookup Tool

+
+ + +
+
+ +
+
+
 ',$output, '


'; + } else { + echo "Invalid domain."; + } + } + +?> + diff --git a/dns-tools-get-ns-record.php b/dns-tools-get-ns-record.php new file mode 100644 index 0000000..1561387 --- /dev/null +++ b/dns-tools-get-ns-record.php @@ -0,0 +1,34 @@ +
+

Ultimate Domain & IP Lookup Tool

+
+ + +
+
+ +
+
+
 ',$output, '


'; + } else { + echo "Invalid domain."; + } + } + +?> + diff --git a/hex-to-rgb-generator.php b/hex-to-rgb-generator.php index 9c4d36f..ec3c8c4 100644 --- a/hex-to-rgb-generator.php +++ b/hex-to-rgb-generator.php @@ -1,17 +1,13 @@ -
-
-

HEX to RGB Converter

-
- +
+

HEX to RGB Converter

+
+

+

- - - -
-
-
- -
+

+ + +
@@ -56,51 +52,3 @@ document.getElementById('copied-notice').innerHTML = 'RGB values copied successfully'; } - - - \ No newline at end of file diff --git a/html-cleaner.php b/html-cleaner.php index 403b2c2..563908a 100644 --- a/html-cleaner.php +++ b/html-cleaner.php @@ -1,3 +1,7 @@ + +

HTML Remover

diff --git a/html-decode.php b/html-decode.php new file mode 100644 index 0000000..4e4ac33 --- /dev/null +++ b/html-decode.php @@ -0,0 +1,39 @@ + + +
+
+

HTML Decoder

+
+ + + + +
+
+
+ + diff --git a/html-encode.php b/html-encode.php new file mode 100644 index 0000000..64ad5ee --- /dev/null +++ b/html-encode.php @@ -0,0 +1,40 @@ + +
+
+

HTML Encoder

+
+ + + + + + + +
+
+
+ diff --git a/image-compressor.php b/image-compressor.php index 84853fc..d804a69 100644 --- a/image-compressor.php +++ b/image-compressor.php @@ -1,24 +1,26 @@ -
-

Image Compression Tool

- -
- -
-   - 10% +
+

Image Compression Tool

+
+
+ +
+
+ +
+   + 10% +
+
+
+ + +
+
+ + Download Compressed Image +
- -
-
- -
- -
-
- - -
-
+ - + \ No newline at end of file diff --git a/image-to-base64-converter.php b/image-to-base64-converter.php index 881a0ef..69db928 100644 --- a/image-to-base64-converter.php +++ b/image-to-base64-converter.php @@ -1,11 +1,16 @@ -
-

Convert Image to Base64

- -
- - - -
+
+

Convert Image to Base64

+
+
+ + +

+
+ +
+
+
+ - \ No newline at end of file diff --git a/json-formatter.php b/json-formatter.php new file mode 100644 index 0000000..352651b --- /dev/null +++ b/json-formatter.php @@ -0,0 +1,110 @@ + +
+

JSON Formatter

+
+
+
+
+
+
+
+
+ + + +

Array Length: 0

+
+ diff --git a/letter-counter.php b/letter-counter.php index 073a34e..560b5d1 100644 --- a/letter-counter.php +++ b/letter-counter.php @@ -1,176 +1,126 @@ - -
-

Text Counter

+
+

Text Counter

+

- -

Total letters: 0

-

Total words: 0

-

Total sentences: 0

-

Total paragraphs: 0

-
-
-

Content Limitations

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameMin/MaxLimitType
Meta TitleMax55Letter
Meta DescriptionMax160Letter
Google Ideal Post ContentMin300Word
Instagram Captions/CommentsMax2200Letter
Twitter PostMax280Letter
Twitter UsernameMax20Letter
Facebook Wall Post (Truncation)Max477Letter
Facebook Wall Post (All)Max63206Letter
Facebook CommentMax8000Letter
Facebook Page DescriptionMax255Letter
Facebook UsernameMax50Letter
Facebook Messenger MessageMax20000Letter
YouTube Video TitleMax70Letter
YouTube Video DescriptionMax5000Letter
Snapchat CaptionMax250Letter
Pinterest Pin DescriptionMax500Letter
+ +
+

Total letters: 0

+

Total words: 0

+

Total sentences: 0

+

Total paragraphs: 0

+
+
+
+
+

Content Limitations

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameMin/MaxLimitType
Meta TitleMax55Letter
Meta DescriptionMax160Letter
Google Ideal Post ContentMin300Word
Instagram Captions/CommentsMax2200Letter
Twitter PostMax280Letter
Twitter UsernameMax20Letter
Facebook Wall Post (Truncation)Max477Letter
Facebook Wall Post (All)Max63206Letter
Facebook CommentMax8000Letter
Facebook Page DescriptionMax255Letter
Facebook UsernameMax50Letter
Facebook Messenger MessageMax20000Letter
YouTube Video TitleMax70Letter
YouTube Video DescriptionMax5000Letter
Snapchat CaptionMax250Letter
Pinterest Pin DescriptionMax500Letter
+
+
- \ No newline at end of file + \ No newline at end of file diff --git a/ns-lookup.php b/ns-lookup.php new file mode 100644 index 0000000..280cab9 --- /dev/null +++ b/ns-lookup.php @@ -0,0 +1,34 @@ +
+

Domain DNS Information Viewer

+
+ + +
+
+ + +
+
+
 ',$output, '


'; + } else { + echo "Invalid domain."; + } + } +?> + diff --git a/png-to-svg.php b/png-to-svg.php new file mode 100644 index 0000000..ba5f281 --- /dev/null +++ b/png-to-svg.php @@ -0,0 +1,77 @@ + + + + + +Image to ICO Converter + + + +

Image to ICO Converter

+ +
+ +

+ + + + + + diff --git a/rgb-to-hex-generator.php b/rgb-to-hex-generator.php index 9f1c120..c6a212a 100644 --- a/rgb-to-hex-generator.php +++ b/rgb-to-hex-generator.php @@ -1,26 +1,25 @@ -
-
-

RGB to HEX Converter

-
- -
-
- -
-
- -
- -
-
-
- -
+
+

RGB to HEX Converter

+
+

+ +
- - +

+ + +
+

+ + +
+
+ + +
-
+ + \ No newline at end of file diff --git a/type.php b/type-1.php similarity index 97% rename from type.php rename to type-1.php index de9bfb9..750089e 100644 --- a/type.php +++ b/type-1.php @@ -1,6 +1,6 @@
diff --git a/who-is.php b/who-is.php new file mode 100644 index 0000000..245fa79 --- /dev/null +++ b/who-is.php @@ -0,0 +1,56 @@ +
+

Ultimate Domain & IP Lookup Tool

+
+ + +
+
+ +

OR

+ + +
+
+
 ',$output, '


'; + } else { + echo "Invalid domain."; + } + } + if(isset($_POST['ip']) && $_POST['ip']){ + function validatePublicIp($ip) { + if (filter_var($ip, FILTER_VALIDATE_IP)) { + if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) { + return true; + } + } + return false; + } + $ip = isset($_POST['ip']) ? $_POST['ip'] : ''; + if ($ip && validatePublicIp($ip)) { + $command = 'whois '.$_POST['ip']; + $escaped_command = escapeshellcmd($command); + $output = shell_exec($escaped_command); + echo '
 ',$output, '


'; + } else { + echo "Invalid IP address."; + } + } + +?> +