{"id":10331,"date":"2023-06-20T10:10:23","date_gmt":"2023-06-20T03:10:23","guid":{"rendered":"https:\/\/idconline.vn\/blog\/?p=10331"},"modified":"2023-06-19T10:08:03","modified_gmt":"2023-06-19T03:08:03","slug":"bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell","status":"publish","type":"post","link":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/","title":{"rendered":"B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell"},"content":{"rendered":"\n<p><em>Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang t\u00f4i tr\u00ecnh b\u00e0y c\u00e1ch m\u00e3 h\u00f3a c\u00e1c d\u00f2ng m\u00e3 c\u1ee5 th\u1ec3 trong t\u1eadp l\u1ec7nh PowerShell \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin nh\u1ea1y c\u1ea3m.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1280\" height=\"665\" src=\"https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard-1280x665.jpg\" alt=\"\" class=\"wp-image-10343\" srcset=\"https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard-1280x665.jpg 1280w, https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard-300x156.jpg 300w, https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard-768x399.jpg 768w, https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard-1536x798.jpg 1536w, https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2023\/06\/finger-pressing-red-encryption-key-on-keyboard.jpg 1540w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/figure>\n\n\n\n<div id=\"toc_container\" class=\"toc_white no_bullets\"><p class=\"toc_title\">M\u1ee5c l\u1ee5c<\/p><ul class=\"toc_list\"><li><a href=\"#Cac_buoc_thu_cong_de_ma_hoa_PowerShell\">C\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng \u0111\u1ec3 m\u00e3 h\u00f3a PowerShell<\/a><ul><li><a href=\"#Buoc_1\">B\u01b0\u1edbc 1<\/a><\/li><li><a href=\"#Buoc_2\">B\u01b0\u1edbc 2<\/a><\/li><li><a href=\"#Buoc_3\">B\u01b0\u1edbc 3<\/a><\/li><\/ul><\/li><li><a href=\"#Chay_ma_hoa_duoi_dang_Tap_lenh_PowerShell\">Ch\u1ea1y m\u00e3 h\u00f3a d\u01b0\u1edbi d\u1ea1ng T\u1eadp l\u1ec7nh PowerShell<\/a><ul><li><a href=\"#Buoc_1-2\">B\u01b0\u1edbc 1<\/a><\/li><li><a href=\"#Buoc_2-2\">B\u01b0\u1edbc 2<\/a><\/li><li><a href=\"#Buoc_3-2\">B\u01b0\u1edbc 3<\/a><\/li><\/ul><\/li><li><a href=\"#Ket_luan\">K\u1ebft lu\u1eadn<\/a><\/li><\/ul><\/div>\n<h2 class=\"wp-block-heading\"><span id=\"Cac_buoc_thu_cong_de_ma_hoa_PowerShell\">C\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng \u0111\u1ec3 m\u00e3 h\u00f3a PowerShell<\/span><\/h2>\n\n\n\n<p>D\u01b0\u1edbi \u0111\u00e2y t\u00f4i s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch m\u00e3 ho\u00e1 PowerShell m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n nh\u1ea5t<\/p>\n\n\n\n<p>T\u00f4i s\u1ebd m\u1edf File Explorer. B\u1ea1n c\u00f3 th\u1ec3 nh\u00ecn th\u1ea5y n\u00f3. T\u00f4i \u0111\u00e3 t\u1ea1o m\u1ed9t s\u1ed1 t\u1ec7p tin. T\u1ec7p tin \u0111\u1ea7u ti\u00ean t\u00f4i c\u00f3 \u1edf \u0111\u00e2y l\u00e0 m\u1ed9t t\u1ec7p tin g\u1ecdi l\u00e0 HelloWorld.ps1. \u0110\u00e2y ch\u1ec9 l\u00e0 m\u1ed9t \u0111o\u1ea1n m\u00e3 \u0111\u01a1n gi\u1ea3n \u0111\u1ec3 hi\u1ec3n th\u1ecb t\u1eeb &#8220;Hello World&#8221; tr\u00ean m\u00e0n h\u00ecnh. T\u00f4i s\u1ebd th\u1ef1c thi n\u00f3. \u0110\u00f3 l\u00e0 t\u1ea5t c\u1ea3 nh\u1eefng g\u00ec t\u1ec7p tin n\u00e0y l\u00e0m.<\/p>\n\n\n\n<p>V\u1eady n\u00ean, h\u00e3y \u0111\u1ec3 t\u00f4i chuy\u1ec3n l\u1ea1i File Explorer. T\u00f4i s\u1ebd m\u1edf t\u1ec7p tin Hello World c\u1ee7a m\u00ecnh. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng t\u1ec7p tin n\u00e0y ch\u1ec9 g\u1ed3m m\u1ed9t d\u00f2ng m\u00e3 duy nh\u1ea5t. V\u00ec v\u1eady, \u0111\u1ec3 cho \u0111\u01a1n gi\u1ea3n, h\u00e3y gi\u1ea3 \u0111\u1ecbnh trong m\u1ee5c \u0111\u00edch c\u1ee7a b\u00e0i thuy\u1ebft tr\u00ecnh n\u00e0y r\u1eb1ng \u0111\u00e2y l\u00e0 m\u1ed9t d\u00f2ng m\u00e3 \u0111\u1eb7c bi\u1ec7t nh\u1ea1y c\u1ea3m ch\u1ee9a th\u00f4ng tin v\u1ec1 c\u01a1 s\u1edf h\u1ea1 t\u1ea7ng c\u1ee7a t\u1ed5 ch\u1ee9c c\u1ee7a b\u1ea1n. V\u00ec v\u1eady, ch\u00fang ta s\u1ebd m\u00e3 h\u00f3a n\u00f3.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_1\">B\u01b0\u1edbc 1<\/span><\/h3>\n\n\n\n<p>\u0110i\u1ec1u \u0111\u1ea7u ti\u00ean t\u00f4i l\u00e0m l\u00e0 sao ch\u00e9p n\u00f3 v\u00e0 l\u01b0u th\u00e0nh m\u1ed9t t\u1ec7p tin .txt. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y t\u1ec7p tin n\u00e0y ngay \u0111\u00e2y. N\u00f3 \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 HelloWorld.txt. N\u1ebfu t\u00f4i m\u1edf n\u00f3 l\u00ean, b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y n\u00f3 gi\u1ed1ng h\u1ec7t t\u1ec7p tin m\u00e0 t\u00f4i v\u1eeba cho b\u1ea1n th\u1ea5y, ch\u1ec9 kh\u00e1c l\u00e0 n\u00f3 \u0111\u01b0\u1ee3c l\u01b0u d\u01b0\u1edbi \u0111\u1ecbnh d\u1ea1ng .txt. V\u1eady h\u00e3y \u0111\u1ec3 t\u00f4i \u0111\u00f3ng t\u1ec7p tin \u0111\u00f3 l\u1ea1i.<\/p>\n\n\n\n<p>V\u00e0 b\u00e2y gi\u1edd t\u00f4i \u0111\u00e3 t\u1ea1o m\u1ed9t script m\u00e3 ho\u00e1 PowerShell \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 EncryptCode.ps1. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y script n\u00e0y ngay \u0111\u00e2y. T\u00f4i s\u1ebd m\u1edf n\u00f3 l\u00ean. \u0110\u00e2y l\u00e0 m\u1ed9t \u0111o\u1ea1n m\u00e3 \u0111\u01a1n gi\u1ea3n g\u1ed3m b\u1ed1n d\u00f2ng. D\u00f2ng m\u00e3 \u0111\u1ea7u ti\u00ean t\u1ea1o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Code, b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y n\u00f3 ngay \u0111\u00e2y. V\u00e0 bi\u1ebfn n\u00e0y \u0111\u01b0\u1ee3c g\u00e1n b\u1eb1ng Get-Content. Sau \u0111\u00f3, ch\u00fang ta \u0111ang \u0111\u1ecdc v\u00e0o t\u1ec7p tin .txt m\u00e0 t\u00f4i v\u1eeba cho b\u1ea1n th\u1ea5y m\u1ed9t l\u00e1t tr\u01b0\u1edbc, t\u1ec7p tin HelloWorld.txt.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$CodeSecureString = ConvertTo-SecureString $Code -AsPlainText -Force<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_2\">B\u01b0\u1edbc 2<\/span><\/h3>\n\n\n\n<p>H\u00e3y ti\u1ebfp t\u1ee5c ch\u1ea1y l\u1ec7nh \u0111\u00f3 th\u1ee7 c\u00f4ng.<\/p>\n\n\n\n<p>M\u1ed9t l\u1ea7n n\u1eefa, h\u00e3y xem n\u1ed9i dung c\u1ee7a bi\u1ebfn n\u00e0y. V\u1eady bi\u1ebfn l\u00e0 $CodeSecureString. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng bi\u1ebfn \u0111\u01a1n gi\u1ea3n ch\u1ec9 ch\u1ee9a System.Security.SecureString. V\u00ec v\u1eady, n\u1ed9i dung c\u1ee7a secure string \u0111\u00f3 \u0111\u01b0\u1ee3c \u1ea9n kh\u1ecfi ch\u00fang ta.<\/p>\n\n\n\n<p>V\u1eady gi\u1edd h\u00e3y xem l\u1ea1i script c\u1ee7a ch\u00fang ta. D\u00f2ng th\u1ee9 ba t\u1ea1o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Encrypted. V\u00e0 ch\u00fang ta \u0111ang g\u00e1n bi\u1ebfn \u0111\u00f3 b\u1eb1ng ConvertFrom-SecureString -SecureString $CodeSecureString.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Encrypted = ConvertFrom-SecureString -SecureString $CodeSecureString<\/pre>\n\n\n\n<p>Nh\u1eefng g\u00ec ch\u00fang ta \u0111ang l\u00e0m l\u00e0 l\u1ea5y secure string m\u00e0 ch\u00fang ta v\u1eeba t\u1ea1o v\u00e0 chuy\u1ec3n \u0111\u1ed5i n\u00f3 t\u1eeb m\u1ed9t secure string, kh\u00f4i ph\u1ee5c n\u1ed9i dung v\u00e0o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Encrypted.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_3\">B\u01b0\u1edbc 3<\/span><\/h3>\n\n\n\n<p>H\u00e3y ti\u1ebfp t\u1ee5c ch\u1ea1y d\u00f2ng m\u00e3 \u0111\u00f3. H\u00e3y xem n\u1ed9i dung c\u1ee7a bi\u1ebfn $Encrypted. B\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng gi\u1edd \u0111\u00e2y ch\u00fang ta c\u00f3 m\u1ed9t chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a.<\/p>\n\n\n\n<p>Vi\u1ec7c cu\u1ed1i c\u00f9ng ch\u00fang ta c\u1ea7n l\u00e0m l\u00e0 ghi chu\u1ed7i \u0111\u00f3 ra m\u1ed9t t\u1ec7p tin. V\u00e0 c\u00e1ch l\u00e0m \u0111\u00f3 l\u00e0 b\u1eb1ng c\u00e1ch g\u00f5 $Encrypted, sau \u0111\u00f3 g\u00f5 Out-File, sau \u0111\u00f3 l\u00e0 \u0111\u01b0\u1eddng d\u1eabn t\u1edbi t\u1ec7p tin v\u00e0 sau \u0111\u00f3 l\u00e0 t\u00ean c\u1ee7a t\u1ec7p tin m\u00e0 ch\u00fang ta mu\u1ed1n t\u1ea1o.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Encrypted | Out-File -FilePath C:\\Scripts\\Encrypted.txt<\/pre>\n\n\n\n<p>H\u00e3y ti\u1ebfn h\u00e0nh th\u1ef1c hi\u1ec7n \u0111i\u1ec1u \u0111\u00f3 ngay b\u00e2y gi\u1edd.<\/p>\n\n\n\n<p>V\u1eady n\u00ean ch\u00fang ta s\u1ebd c\u00f3 m\u1ed9t t\u1ec7p tin g\u1ecdi l\u00e0 Encrypted.txt. V\u00e0 n\u1ebfu t\u00f4i m\u1edf n\u00f3 l\u00ean, b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng n\u00f3 ch\u1ee9a chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a.<\/p>\n\n\n\n<p><strong>Xem th\u00eam<\/strong>: <strong><em><a href=\"https:\/\/idconline.vn\/blog\/top-10-ngon-ngu-lap-trinh-backend-2023.html\" target=\"_blank\" rel=\"noreferrer noopener\">Top 10 Ng\u00f4n Ng\u1eef L\u1eadp Tr\u00ecnh Backend 2023<\/a><\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"Chay_ma_hoa_duoi_dang_Tap_lenh_PowerShell\">Ch\u1ea1y m\u00e3 h\u00f3a d\u01b0\u1edbi d\u1ea1ng T\u1eadp l\u1ec7nh PowerShell<\/span><\/h2>\n\n\n\n<p>B\u00e2y gi\u1edd, t\u00f4i \u0111\u00e3 th\u1ef1c hi\u1ec7n t\u1ea5t c\u1ea3 c\u00e1c b\u01b0\u1edbc n\u00e0y th\u1ee7 c\u00f4ng, nh\u01b0ng thay v\u00e0o \u0111\u00f3, ch\u00fang ta c\u00f3 th\u1ec3 ch\u1ea1y ch\u00fang nh\u01b0 l\u00e0 m\u1ed9t script. V\u00ec v\u1eady, h\u00e3y \u0111\u1ec3 t\u00f4i \u0111\u00f3ng \u0111i\u1ec1u n\u00e0y l\u1ea1i. V\u00e0 t\u00f4i s\u1ebd x\u00f3a t\u1ec7p tin .txt \u0111\u00f3. H\u00e3y ch\u1ea1y EncryptCode.ps1. V\u00e0 b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng t\u1ec7p tin Encrypted.txt \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o l\u1ea1i. N\u1ed9i dung c\u1ee7a t\u1ec7p tin n\u00e0y n\u00ean gi\u1ed1ng nh\u01b0 tr\u01b0\u1edbc \u0111\u00f3.<\/p>\n\n\n\n<p>Trong khi t\u00f4i \u0111ang m\u1edf t\u1ec7p tin Encrypted.txt, t\u00f4i s\u1ebd sao ch\u00e9p chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a. V\u1eady n\u00ean, t\u00f4i \u0111\u00e3 sao ch\u00e9p chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a v\u00e0o clipboard. H\u00e3y \u0111\u1ec3 t\u00f4i \u0111\u00f3ng \u0111i\u1ec1u n\u00e0y l\u1ea1i.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_1-2\">B\u01b0\u1edbc 1<\/span><\/h3>\n\n\n\n<p>V\u1eady gi\u1edd \u0111i\u1ec1u cu\u1ed1i c\u00f9ng ch\u00fang ta c\u1ea7n l\u00e0m l\u00e0 s\u1eed d\u1ee5ng chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a \u0111\u00f3. H\u00e3y nh\u1edb r\u1eb1ng m\u1ee5c ti\u00eau chung m\u00e0 ch\u00fang ta \u0111ang c\u1ed1 g\u1eafng \u0111\u1ea1t \u0111\u01b0\u1ee3c l\u00e0 \u1ea9n m\u1ed9t d\u00f2ng m\u00e3 \u0111\u1eb7c bi\u1ec7t nh\u1ea1y c\u1ea3m trong m\u1ed9t script PowerShell.<\/p>\n\n\n\n<p>V\u1eady n\u00ean, t\u00f4i c\u00f3 m\u1ed9t script kh\u00e1c \u1edf \u0111\u00e2y \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 RunCode.ps1, v\u00e0 ch\u00fang ta s\u1ebd gi\u1ea3 \u0111\u1ecbnh r\u1eb1ng \u0111\u00e2y l\u00e0 script PowerShell c\u1ee7a ch\u00fang ta ch\u1ee9a d\u00f2ng m\u00e3 m\u00e0 ch\u00fang ta mu\u1ed1n \u1ea9n. H\u00e3y \u0111\u1ec3 t\u00f4i m\u1edf n\u00f3 l\u00ean. V\u00e0 d\u00f2ng m\u00e3 \u0111\u1ea7u ti\u00ean l\u00e0 $Instructions =, v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng n\u00f3 \u0111\u01b0\u1ee3c \u0111\u1eb7t l\u00e0 &#8220;&#8221;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Instructions = \u201c\u201d<\/pre>\n\n\n\n<p>Nh\u1eefng g\u00ec t\u00f4i mu\u1ed1n l\u00e0m l\u00e0 d\u00e1n chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a v\u00e0o gi\u1eefa nh\u1eefng d\u1ea5u ngo\u1eb7c k\u00e9p n\u00e0y. V\u00ec v\u1eady, ch\u00fang ta \u0111ang t\u1ea1o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Instructions, v\u00e0 ch\u00fang ta \u0111ang g\u00e1n n\u00f3 b\u1eb1ng chu\u1ed7i \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a \u0111\u00f3.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_2-2\">B\u01b0\u1edbc 2<\/span><\/h3>\n\n\n\n<p>V\u1eady gi\u1edd ch\u00fang ta \u0111\u00e3 d\u00e1n l\u1ec7nh \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a v\u00e0o script PowerShell c\u1ee7a ch\u00fang ta, nh\u01b0ng PowerShell kh\u00f4ng th\u1ec3 s\u1eed d\u1ee5ng l\u1ec7nh trong d\u1ea1ng \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a, v\u00ec v\u1eady ch\u00fang ta ph\u1ea3i c\u00f3 m\u1ed9t \u00edt m\u00e3 \u0111\u1ec3 gi\u1ea3i m\u00e3 l\u1ec7nh \u0111\u00f3 \u0111\u1ec3 c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng n\u00f3.<\/p>\n\n\n\n<p>V\u00ec v\u1eady, \u0111i\u1ec1u t\u00f4i \u0111\u00e3 l\u00e0m l\u00e0 t\u1ea1o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Decrypt, v\u00e0 t\u00f4i \u0111\u00e3 \u0111\u1eb7t n\u00f3 b\u1eb1ng $Instructions. H\u00e3y nh\u1edb, $Instructions l\u00e0 l\u1ec7nh \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a c\u1ee7a ch\u00fang ta \u1edf \u0111\u00e2y. Sau \u0111\u00f3, t\u00f4i \u0111ang chuy\u1ec3n ti\u1ebfp n\u00f3 \u0111\u1ebfn ConvertTo-SecureString. V\u00ec v\u1eady, t\u00f4i \u0111ang l\u1ea5y gi\u00e1 tr\u1ecb \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a \u0111\u00f3 v\u00e0 chuy\u1ec3n n\u00f3 tr\u1edf l\u1ea1i th\u00e0nh m\u1ed9t secure string.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Decrypt = $Instructions | ConvertTo-SecureString<\/pre>\n\n\n\n<p>Sau \u0111\u00f3, d\u00f2ng m\u00e3 cu\u1ed1i c\u00f9ng c\u1ee7a ch\u00fang ta t\u1ea1o m\u1ed9t bi\u1ebfn \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 $Code, b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y n\u00f3 ngay \u0111\u00e2y. V\u00e0 sau \u0111\u00f3 g\u00e1n n\u00f3 b\u1eb1ng [Runtime.InteropServices.Marshal]. B\u00e2y gi\u1edd, b\u1ea1n s\u1ebd nh\u1eadn th\u1ea5y r\u1eb1ng ch\u00fang ta c\u00f3 m\u1ed9t d\u1ea5u hai ch\u1ea5m k\u00e9p \u1edf \u0111\u00e2y. M\u1ed7i khi b\u1ea1n nh\u00ecn th\u1ea5y m\u1ed9t d\u1ea5u hai ch\u1ea5m k\u00e9p trong PowerShell, \u0111i\u1ec1u \u0111\u00f3 c\u00f3 ngh\u0129a l\u00e0 b\u1ea1n \u0111ang g\u1ecdi m\u1ed9t ph\u01b0\u01a1ng th\u1ee9c .NET. V\u1eady ch\u00ednh x\u00e1c l\u00e0 \u0111i\u1ec1u ch\u00fang ta \u0111ang l\u00e0m \u1edf \u0111\u00e2y. Ch\u00fang ta \u0111ang g\u1ecdi framework .NET v\u00e0 s\u1eed d\u1ee5ng m\u1ed9t s\u1ed1 ch\u1ee9c n\u0103ng t\u1eeb .NET \u0111\u1ec3 gi\u1ea3i m\u00e3 chu\u1ed7i n\u00e0y.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$Code =[Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($Decrypt))<\/pre>\n\n\n\n<p>V\u00e0 ch\u00fang ta l\u1ea5y n\u1ed9i dung \u0111\u00e3 \u0111\u01b0\u1ee3c gi\u1ea3i m\u00e3 \u0111\u00f3 v\u00e0 g\u00e1n n\u00f3 b\u1eb1ng $Code. V\u1eady gi\u1edd $Code s\u1ebd ch\u1ee9a l\u1ec7nh tr\u01b0\u1edbc \u0111\u00e2y \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a, nh\u01b0ng gi\u1edd \u0111\u00e3 \u0111\u01b0\u1ee3c gi\u1ea3i m\u00e3.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span id=\"Buoc_3-2\">B\u01b0\u1edbc 3<\/span><\/h3>\n\n\n\n<p>V\u1eady gi\u1edd ch\u00fang ta ch\u1ec9 c\u1ea7n ch\u1ea1y d\u00f2ng m\u00e3 \u0111\u00f3. Ch\u00fang ta c\u00f3 th\u1ec3 l\u00e0m \u0111i\u1ec1u \u0111\u00f3 b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng l\u1ec7nh Invoke-Expression $Code.<\/p>\n\n\n\n<p>H\u00e3y xem c\u00e1i n\u00e0y tr\u00f4ng nh\u01b0 th\u1ebf n\u00e0o. T\u00f4i s\u1ebd ti\u1ebfp t\u1ee5c l\u01b0u \u0111i\u1ec1u n\u00e0y. V\u00e0 m\u1ed9t trong nh\u1eefng \u0111i\u1ec1u v\u1ec1 vi\u1ec7c s\u1eed d\u1ee5ng Notepad cho PowerShell l\u00e0 n\u00f3 m\u1eb7c \u0111\u1ecbnh l\u01b0u t\u1ec7p tin \u1edf \u0111\u1ecbnh d\u1ea1ng UTF-8, nh\u01b0ng n\u1ebfu b\u1ea1n c\u1ed1 g\u1eafng s\u1eed d\u1ee5ng PowerShell trong \u0111\u1ecbnh d\u1ea1ng UTF-8, b\u1ea1n c\u00f3 th\u1ec3 g\u1eb7p l\u1ed7i. B\u1ea1n c\u1ea7n \u0111\u1eb7t n\u00f3 b\u1eb1ng ANSI. V\u1eady n\u00ean, t\u00f4i s\u1ebd l\u01b0u n\u00f3 d\u01b0\u1edbi \u0111\u1ecbnh d\u1ea1ng ANSI.<\/p>\n\n\n\n<p>Sau \u0111\u00f3, ch\u00fang ta ch\u1ec9 c\u1ea7n th\u1ef1c thi RunCode.ps1. V\u00e0 b\u1ea1n c\u00f3 th\u1ec3 th\u1ea5y r\u1eb1ng RunCode.ps1 t\u1ea1o ra c\u00f9ng k\u1ebft qu\u1ea3 nh\u01b0 script Hello World c\u1ee7a ch\u00fang ta, ch\u1ec9 kh\u00e1c l\u00e0 gi\u1edd \u0111\u00e2y l\u1ec7nh g\u00e2y ra vi\u1ec7c hi\u1ec3n th\u1ecb t\u1eeb &#8220;Hello World&#8221; tr\u00ean m\u00e0n h\u00ecnh \u0111\u00e3 \u0111\u01b0\u1ee3c m\u00e3 h\u00f3a v\u00e0 ho\u00e0n to\u00e0n \u0111\u01b0\u1ee3c \u1ea9n \u0111i. V\u1eady n\u00ean, b\u1ea5t k\u1ef3 ai xem n\u1ed9i dung c\u1ee7a script PowerShell c\u1ee5 th\u1ec3 n\u00e0y c\u0169ng s\u1ebd kh\u00f4ng th\u1ec3 nh\u00ecn th\u1ea5y l\u1ec7nh c\u1ee5 th\u1ec3 \u0111\u00f3.<\/p>\n\n\n\n<p><strong>Xem th\u00eam<\/strong>: <a href=\"https:\/\/idconline.vn\/blog\/hoc-ngon-ngu-lap-trinh-nao-de-co-muc-luong-10000-thang.html\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em>H\u1ecdc ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh n\u00e0o \u0111\u1ec3 c\u00f3 m\u1ee9c l\u01b0\u01a1ng 10000$\/th\u00e1ng?<\/em><\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"Ket_luan\">K\u1ebft lu\u1eadn<\/span><\/h2>\n\n\n\n<p>Hi\u1ec3n nhi\u00ean, Write-Host &#8216;Hello World&#8217; kh\u00f4ng ph\u1ea3i l\u00e0 n\u1ed9i dung nh\u1ea1y c\u1ea3m theo b\u1ea5t k\u1ef3 c\u00e1ch n\u00e0o, nh\u01b0ng b\u1ea1n c\u00f3 th\u1ec3 t\u01b0\u1edfng t\u01b0\u1ee3ng nh\u1eefng g\u00ec s\u1ebd x\u1ea3y ra n\u1ebfu b\u1ea1n c\u00f3 m\u1ed9t d\u00f2ng m\u00e3 l\u01b0u tr\u1eef m\u1eadt kh\u1ea9u, cung c\u1ea5p \u0111\u01b0\u1eddng d\u1eabn \u0111\u1ebfn m\u1ed9t m\u00e1y ch\u1ee7 m\u00e0 b\u1ea1n kh\u00f4ng mu\u1ed1n th\u1ebf gi\u1edbi bi\u1ebft \u0111\u1ebfn, ho\u1eb7c m\u1ed9t c\u00e1i g\u00ec \u0111\u00f3 t\u01b0\u01a1ng t\u1ef1. \u0110\u00e2y l\u00e0 m\u1ed9t c\u00e1ch tuy\u1ec7t v\u1eddi \u0111\u1ec3 \u1ea9n m\u00e3 trong script PowerShell c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p>V\u1eady l\u00e0 \u0111\u00f3 l\u00e0 c\u00e1ch b\u1ea1n m\u00e3 h\u00f3a v\u00e0 gi\u1ea3i m\u00e3 m\u1ed9t l\u1ec7nh trong script PowerShell.<\/p>\n\n\n\n<p>N\u1ebfu b\u1ea1n \u0111ang t\u00ecm ki\u1ebfm m\u1ed9t \u0111\u1ed1i t\u00e1c tri\u1ec3n khai c\u00e1c gi\u1ea3i ph\u00e1p c\u00f4ng ngh\u1ec7 cho doanh nghi\u1ec7p c\u1ee7a b\u1ea1n, h\u00e3y \u0111\u1ebfn v\u1edbi <strong><em><a href=\"http:\/\/idconline.vn\" target=\"_blank\" rel=\"noreferrer noopener\">IDC Online<\/a><\/em><\/strong>. IDC Online cung c\u1ea5p c\u00e1c gi\u1ea3i ph\u00e1p c\u00f4ng ngh\u1ec7 th\u00f4ng tin v\u00e0 \u0111\u00e1m m\u00e2y cho doanh nghi\u1ec7p. Bao g\u1ed3m c\u1ea3 c\u00e1c gi\u1ea3i ph\u00e1p tr\u1ef1c quan h\u00f3a d\u1eef li\u1ec7u v\u00e0 c\u00e1c gi\u1ea3i ph\u00e1p kh\u00e1c. V\u1edbi \u0111\u1ed9i ng\u0169 chuy\u00ean gia gi\u00e0u kinh nghi\u1ec7m, IDC Online \u0111em l\u1ea1i cho b\u1ea1n nh\u1eefng tr\u1ea3i nghi\u1ec7m tuy\u1ec7t v\u1eddi.<\/p>\n\n\n\n<p>H\u00e3y truy c\u1eadp v\u00e0o trang web <a href=\"https:\/\/idconline.vn\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/idconline.vn\/<\/a> c\u1ee7a IDC Online \u0111\u1ec3 bi\u1ebft th\u00eam th\u00f4ng tin chi ti\u1ebft. Ho\u1eb7c n\u1ebfu b\u1ea1n c\u00f3 v\u1ea5n \u0111\u1ec1 g\u00ec c\u1ea7n gi\u1ea3i \u0111\u00e1p h\u00e3y li\u00ean h\u1ec7 v\u1edbi ch\u00fang t\u00f4i qua <strong>hotline<\/strong>: 19006452. IDC Online lu\u00f4n \u1edf \u0111\u00e2y \u0111\u1ec3 \u0111\u01b0\u1ee3c \u0111\u1ed3ng h\u00e0nh c\u00f9ng b\u1ea1n<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-2\">\n<div class=\"wp-block-column is-layout-flow\" style=\"flex-basis:100%\">\n<!--more-->\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/idconline.vn\/blog\/vps-la-gi-top-7-vps-tot-nhat-nen-mua-2024\/\">VPS l\u00e0 g\u00ec? Top 7 VPS t\u1ed1t nh\u1ea5t n\u00ean mua 2024<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/idconline.vn\/blog\/vps-server-va-nhung-kien-thuc-can-biet-ve-vps\/\">VPS Server v\u00e0 nh\u1eefng \u0111i\u1ec1u b\u1ea1n c\u1ea7n bi\u1ebft!<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/idconline.vn\/blog\/nhung-dieu-ban-can-biet-ve-he-dieu-hanh-linux\/\">Nh\u1eefng \u0111i\u1ec1u b\u1ea1n c\u1ea7n bi\u1ebft v\u1ec1 h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/idconline.vn\/blog\/nhung-noi-cho-thue-may-chu-vps-chat-luong\/\">Nh\u1eefng n\u01a1i cho thu\u00ea m\u00e1y ch\u1ee7 VPS ch\u1ea5t l\u01b0\u1ee3ng<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/idconline.vn\/blog\/gioi-thieu-ve-vps-va-4-dich-vu-vps-free-viet-nam-ban-nen-tham-khao\/\">Gi\u1edbi thi\u1ec7u v\u1ec1 VPS v\u00e0 4 d\u1ecbch v\u1ee5 d\u00f9ng th\u1eed VPS Vi\u1ec7t Nam b\u1ea1n n\u00ean tham kh\u1ea3o<\/a><\/li>\n<\/ul><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang t\u00f4i tr\u00ecnh b\u00e0y c\u00e1ch m\u00e3 h\u00f3a c\u00e1c d\u00f2ng m\u00e3 c\u1ee5 th\u1ec3 trong t\u1eadp l\u1ec7nh PowerShell \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin nh\u1ea1y c\u1ea3m. M\u1ee5c l\u1ee5cC\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng \u0111\u1ec3 m\u00e3 h\u00f3a PowerShellB\u01b0\u1edbc 1B\u01b0\u1edbc 2B\u01b0\u1edbc 3Ch\u1ea1y m\u00e3 h\u00f3a d\u01b0\u1edbi d\u1ea1ng T\u1eadp l\u1ec7nh PowerShellB\u01b0\u1edbc 1B\u01b0\u1edbc 2B\u01b0\u1edbc 3K\u1ebft lu\u1eadn C\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":10343,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2921],"tags":[2853,25,21,64,37,2891,3137,2866,3136,28],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell<\/title>\n<meta name=\"description\" content=\"Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang t\u00f4i tr\u00ecnh b\u00e0y c\u00e1ch m\u00e3 h\u00f3a c\u00e1c d\u00f2ng m\u00e3 c\u1ee5 th\u1ec3 trong t\u1eadp l\u1ec7nh PowerShell \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin nh\u1ea1y c\u1ea3m.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"IDC Online Content\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 ph\u00fat\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell","description":"Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang t\u00f4i tr\u00ecnh b\u00e0y c\u00e1ch m\u00e3 h\u00f3a c\u00e1c d\u00f2ng m\u00e3 c\u1ee5 th\u1ec3 trong t\u1eadp l\u1ec7nh PowerShell \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin nh\u1ea1y c\u1ea3m.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"IDC Online Content","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"9 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/#article","isPartOf":{"@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/"},"author":{"name":"IDC Online Content","@id":"https:\/\/idconline.vn\/blog\/#\/schema\/person\/4290d375b961d9868a8b97493666504f"},"headline":"B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell","datePublished":"2023-06-20T03:10:23+00:00","dateModified":"2023-06-19T03:08:03+00:00","mainEntityOfPage":{"@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/"},"wordCount":2569,"publisher":{"@id":"https:\/\/idconline.vn\/blog\/#organization"},"keywords":["backend","cloud hosting","cloud server","cloud server gia re","cloud vps","c\u00f4ng ngh\u1ec7 th\u00f4ng tin","m\u00e3 ho\u00e1","ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh","powershell","vps server"],"articleSection":["Ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/","url":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/","name":"B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell","isPartOf":{"@id":"https:\/\/idconline.vn\/blog\/#website"},"datePublished":"2023-06-20T03:10:23+00:00","dateModified":"2023-06-19T03:08:03+00:00","description":"Trong b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y, ch\u00fang t\u00f4i tr\u00ecnh b\u00e0y c\u00e1ch m\u00e3 h\u00f3a c\u00e1c d\u00f2ng m\u00e3 c\u1ee5 th\u1ec3 trong t\u1eadp l\u1ec7nh PowerShell \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin nh\u1ea1y c\u1ea3m.","breadcrumb":{"@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/idconline.vn\/blog\/bao-mat-thong-tin-nhay-cam-qua-viec-ma-hoa-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/idconline.vn\/blog\/"},{"@type":"ListItem","position":2,"name":"B\u1ea3o m\u1eadt th\u00f4ng tin nh\u1ea1y c\u1ea3m qua vi\u1ec7c m\u00e3 ho\u00e1 PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/idconline.vn\/blog\/#website","url":"https:\/\/idconline.vn\/blog\/","name":"IDC Online","description":"D\u1ecbch v\u1ee5 M\u00e1y ch\u1ee7, Cloud, VPS, Web Hosting chuy\u00ean nghi\u1ec7p","publisher":{"@id":"https:\/\/idconline.vn\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/idconline.vn\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/idconline.vn\/blog\/#organization","name":"IDC ONLINE","url":"https:\/\/idconline.vn\/blog\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/idconline.vn\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2020\/10\/idc_cloud24-1.jpg","contentUrl":"https:\/\/idconline.vn\/blog\/wp-content\/uploads\/2020\/10\/idc_cloud24-1.jpg","width":1200,"height":899,"caption":"IDC ONLINE"},"image":{"@id":"https:\/\/idconline.vn\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/idconlinevn"]},{"@type":"Person","@id":"https:\/\/idconline.vn\/blog\/#\/schema\/person\/4290d375b961d9868a8b97493666504f","name":"IDC Online Content","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/idconline.vn\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7ab8d9a7604be7adae4cae204aa5267f?s=96&r=r","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ab8d9a7604be7adae4cae204aa5267f?s=96&r=r","caption":"IDC Online Content"}}]}},"_links":{"self":[{"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/posts\/10331"}],"collection":[{"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/comments?post=10331"}],"version-history":[{"count":2,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/posts\/10331\/revisions"}],"predecessor-version":[{"id":10345,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/posts\/10331\/revisions\/10345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/media\/10343"}],"wp:attachment":[{"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/media?parent=10331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/categories?post=10331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idconline.vn\/blog\/wp-json\/wp\/v2\/tags?post=10331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}