Rot13 linux
Author: g | 2025-04-23
ROT13(1) Linux Programmer's Manual ROT13(1) NAME rot13 - shroud text with simple rot-13 cypher SYNOPSIS rot13 [input [output]] DESCRIPTION This manual page documents the
rot13 man - Linux Command Library
مشكلة ROT13 (تدوير 13 بت) عبارة عن خوارزمية بسيطة لاستبدال كلمة المرور. إنها أداة مستخدمة في المنتديات الإنجليزية على الإنترنت لإخفاء النميمة والجمل الذكية وإجابات الألغاز وبعض الكلمات البذيئة ، بهدف تجنب النظرة السريعة للمشرفين أو الإداريين. ROT13 هو أيضًا أحد أشكال كود القيصر الذي تم تطويره في روما القديمة في الماضي. ROT13 هو معكوس نفسه ، أي أنه يمكن الحصول عليه باستخدام نفس الخوارزمية لاستعادة النص الأصلي ، بحيث يمكن استخدام نفس العملية للتشفير وفك التشفير. لا توفر الخوارزمية أمانًا تشفيرًا حقيقيًا ، لذا لا ينبغي استخدامها للأغراض التي تتطلب الأمان. غالبًا ما يتم استخدامه كمثال نموذجي للتشفير الضعيف. تطبيق ROT13 على جزء من النص يحتاج فقط إلى التحقق من الترتيب الأبجدي واستبدال الحرف المقابل له بعد 13 رقمًا.إذا لزم تجاوزه ، فسيتم إرجاعه إلى بداية 26 حرفًا باللغة الإنجليزية. يتم تغيير A إلى N ، ويتم تغيير B إلى O ، وهكذا حتى يتم تغيير M إلى Z ، ثم يتم عكس المسلسل: يتم تغيير N إلى A ، ويتم تغيير O إلى B ، وفي النهاية يتم تغيير Z إلى M (كما هو موضح). تتأثر فقط هذه الأحرف التي تظهر في الأبجدية الإنجليزية ؛ تظل الأرقام والرموز والأحرف الفارغة وجميع الأحرف الأخرى بدون تغيير. تظل حالة الخطاب بعد الاستبدال دون تغيير. على سبيل المثال ، في النكتة الإنجليزية التالية ، يتم إخفاء جوهر الجملة بواسطة ROT13: How can you tell an extrovert from an introvert at NSA? Va gur ryringbef, gur rkgebireg ybbxf ng gur BGURE thl’f fubrf. من خلال تحويل ROT13 تظهر الإجابة على النكتة كما. ROT13(1) Linux Programmer's Manual ROT13(1) NAME rot13 - shroud text with simple rot-13 cypher SYNOPSIS rot13 [input [output]] DESCRIPTION This manual page documents the ROT13(1) Linux Programmer's Manual ROT13(1) NAME rot13 - shroud text with simple rot-13 cypher SYNOPSIS rot13 [input [output]] DESCRIPTION This manual page documents the rot13 text filter. If no filenames are specified, rot13 reads from stdin and writes to stdout. Rot13 is commonly installed from the bsdgames package in Linux. I tasked myself with building a rot13 transcoder pipeline, applying rot13 on every TCP message leaving the VM on a specific $ rot13 Linux is cool redefined. Yvahk vf pbby erqrsvarq. As it turns out, rot13 is actually a cypher, albeit a very simple one. It takes the letters of a word, such as linux, and ROT13 - Wikipedia. Tr Command in Linux with Examples ROT13 to Text; ROT13 to Flipped; ROT13 to HTML Entities; ROT13 to Morsecode; ROT13 to Leetspeak; ROT13 to Navajo code; ROT13 to Decimal; ROT13 to Binary; ROT13 to Octal; ROT13 to Hexadecimal; ROT13 to Roman numerals; ROT13 to Atbash Roman; ROT13 to Caesar Cipher; ROT13 to Vigen re Cipher; ROT13 to ITA2 / CCITT-2; ROT13 to Pigpen cipher; ROT13 Puedes cifrar o descifrar un texto con el método de cifrado ROT13 directamente en el edito VimLa serendipia lleva a cosas interesantes. Así ha pasado a raíz de un toot en Mastodon de TerceraNexus6, en el que explicaba como uno de sus pequeños alumnos le había mandado un mensaje con cifrado César.Así que me puse a leer qué era eso del cifrado César, y de una variante de ese cifrado es el ROT13. Un tipo de cifrado muy débil que consiste en rotar 13 posiciones las letras del abecedario, para a partir de una frase, ofuscar su significado y que no sea legible a primera vista.Imagen WikipediaEn este blog ya he escrito sobre cómo Vim puede cifrar un archivo mediante blowfish2, en este caso veremos cómo «cifrar» una línea, líneas o archivo entero con ROT13.Este artículo viene a formar parte de la serie de tutoriales sobre el editor Vim que desde hace meses estoy publicando en mi blog y que puedes encontrar reunidos en este enlace: ya he dicho, ROT13 es un tipo de cifrado bastante débil, por lo que no debe ser considerado un método fiable de cifrado, pero sí puede ser interesante para hacerlo ininteligible y hacer desistir de su lectura a alguien con «ojos curiosos».Así que veamos cómo Vim nos puede cifrar y descifrar texto utilizando este método ROT13:Deberemos seleccionar una palabra, una línea o conjunto de líneas en el modo visualSeleccionado el texto que queremos cifrar, en modo normal pulsaremos la combinación de teclas g?La selección se cifrará o descifrará en el método ROT13.Por supuesto tiene algunas lagunas como las letras con acentos, la ñ, etc. Pero en general funciona sin problemas y volverá nuestro texto a un «idioma extraño».Si queremos cifrar o descifrar el texto completo podemos utilizar cualquiera de las siguientes combinaciones de teclas en el modo normal:ggVGg?ggg?GOs dejo una demostración práctica del proceso en este asciinema: Publicado 08/04/202022/12/2020 Navegación de entradasComments
مشكلة ROT13 (تدوير 13 بت) عبارة عن خوارزمية بسيطة لاستبدال كلمة المرور. إنها أداة مستخدمة في المنتديات الإنجليزية على الإنترنت لإخفاء النميمة والجمل الذكية وإجابات الألغاز وبعض الكلمات البذيئة ، بهدف تجنب النظرة السريعة للمشرفين أو الإداريين. ROT13 هو أيضًا أحد أشكال كود القيصر الذي تم تطويره في روما القديمة في الماضي. ROT13 هو معكوس نفسه ، أي أنه يمكن الحصول عليه باستخدام نفس الخوارزمية لاستعادة النص الأصلي ، بحيث يمكن استخدام نفس العملية للتشفير وفك التشفير. لا توفر الخوارزمية أمانًا تشفيرًا حقيقيًا ، لذا لا ينبغي استخدامها للأغراض التي تتطلب الأمان. غالبًا ما يتم استخدامه كمثال نموذجي للتشفير الضعيف. تطبيق ROT13 على جزء من النص يحتاج فقط إلى التحقق من الترتيب الأبجدي واستبدال الحرف المقابل له بعد 13 رقمًا.إذا لزم تجاوزه ، فسيتم إرجاعه إلى بداية 26 حرفًا باللغة الإنجليزية. يتم تغيير A إلى N ، ويتم تغيير B إلى O ، وهكذا حتى يتم تغيير M إلى Z ، ثم يتم عكس المسلسل: يتم تغيير N إلى A ، ويتم تغيير O إلى B ، وفي النهاية يتم تغيير Z إلى M (كما هو موضح). تتأثر فقط هذه الأحرف التي تظهر في الأبجدية الإنجليزية ؛ تظل الأرقام والرموز والأحرف الفارغة وجميع الأحرف الأخرى بدون تغيير. تظل حالة الخطاب بعد الاستبدال دون تغيير. على سبيل المثال ، في النكتة الإنجليزية التالية ، يتم إخفاء جوهر الجملة بواسطة ROT13: How can you tell an extrovert from an introvert at NSA? Va gur ryringbef, gur rkgebireg ybbxf ng gur BGURE thl’f fubrf. من خلال تحويل ROT13 تظهر الإجابة على النكتة كما
2025-04-03Puedes cifrar o descifrar un texto con el método de cifrado ROT13 directamente en el edito VimLa serendipia lleva a cosas interesantes. Así ha pasado a raíz de un toot en Mastodon de TerceraNexus6, en el que explicaba como uno de sus pequeños alumnos le había mandado un mensaje con cifrado César.Así que me puse a leer qué era eso del cifrado César, y de una variante de ese cifrado es el ROT13. Un tipo de cifrado muy débil que consiste en rotar 13 posiciones las letras del abecedario, para a partir de una frase, ofuscar su significado y que no sea legible a primera vista.Imagen WikipediaEn este blog ya he escrito sobre cómo Vim puede cifrar un archivo mediante blowfish2, en este caso veremos cómo «cifrar» una línea, líneas o archivo entero con ROT13.Este artículo viene a formar parte de la serie de tutoriales sobre el editor Vim que desde hace meses estoy publicando en mi blog y que puedes encontrar reunidos en este enlace: ya he dicho, ROT13 es un tipo de cifrado bastante débil, por lo que no debe ser considerado un método fiable de cifrado, pero sí puede ser interesante para hacerlo ininteligible y hacer desistir de su lectura a alguien con «ojos curiosos».Así que veamos cómo Vim nos puede cifrar y descifrar texto utilizando este método ROT13:Deberemos seleccionar una palabra, una línea o conjunto de líneas en el modo visualSeleccionado el texto que queremos cifrar, en modo normal pulsaremos la combinación de teclas g?La selección se cifrará o descifrará en el método ROT13.Por supuesto tiene algunas lagunas como las letras con acentos, la ñ, etc. Pero en general funciona sin problemas y volverá nuestro texto a un «idioma extraño».Si queremos cifrar o descifrar el texto completo podemos utilizar cualquiera de las siguientes combinaciones de teclas en el modo normal:ggVGg?ggg?GOs dejo una demostración práctica del proceso en este asciinema: Publicado 08/04/202022/12/2020 Navegación de entradas
2025-04-04يلي: Ubj pna lbh gryy na rkgebireg sebz na vagebireg ng AFN? In the elevators, the extrovert looks at the OTHER guy’s shoes. سيؤدي الاستخدام الثاني لـ ROT13 إلى استعادة النص الأصلي. Input السطر 1: العدد الصحيح T (1≤T≤10) هو عدد الأسئلة. بعد ذلك ، هناك صفوف T. لا يتجاوز طول كل سطر 1000 حرف. يحتوي على أحرف كبيرة وصغيرة ومسافات وأرقام ورموز مختلفة. Output لكل سؤال ، أخرج رقم سؤال السطر (رقم يبدأ بـ 0 ، التنسيق: الحالة # 0: إلخ). ثم أخرج قطعة نص مشفرة بواسطة ROT13 في سطر واحد يتوافق مع كل سؤال. Sample Input 3 How can you tell an extrovert from an introvert at NSA? Va gur ryringbef, gur rkgebireg ybbxf ng gur BGURE thl’f fubrf. Sample Output case #0: Ubj pna lbh gryy na rkgebireg sebz na case #1: vagebireg ng AFN? In the elevators, case #2: يمكن لأداة فك التشفير ROT13 استخدام أداة CTFcrack.jar لفريق Misite Security Team!
2025-04-04IntroductionThis is one of the first challenges that the authors present to us on PicoCTF platform. Let’s see what the challenge is about:Overview and SolvingThe challenge is pretty straightforward—it’s all about Cryptography and specifically focuses on the ROT13 cipher. ROT13 is often one of the first ciphers people come across when learning about cryptography because it’s simple yet really helps understand the basic ideas behind ciphers.With ROT13, you’re essentially swapping letters in a message with the 13th letter after each letter in the alphabet. For instance, if you take the letter ‘A’ and count 13 letters after it, you end up on the letter ‘N’. So, applying ROT13 to ‘ABC’ would give you ‘NOP’. You can also choose a different starting point to cipher the message.The challenge provides a ciphered message in red, which we’re supposed to decode. Given that all PicoCTF solutions begin with ‘picoCTF’, we know that these letters are transformed into ‘cvpbPGS’. Using this, we can figure out the rest of the letters.There’s a simple Python script that helps find the solution.# initial encrypted textflag = "cvpbPGS{arkg_gvzr_V'yy_gel_2_ebhaqf_bs_ebg13_MAZyqFQj}"# A-ZAZ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"# a-zaz = "abcdefghijklmnopqrstuvwxyz"# string to store results = ""# iterate through encrypted flagfor x in flag: # if the character is in AZ if x in AZ: # go 13 characters further from the current character s += AZ[(AZ.index(x)+13)%len(AZ)] # if the character is in az elif x in az: # go 13 characters further from the current character s += az[(az.index(x)+13)%len(az)] else: # else add the character s += x# print stringprint(s)ConclusionThe solution to the challenge is:picoCTF{next_time_I’ll_try_2_rounds_of_rot13_aFxtzQWR}If you enjoyed this solution, I’d appreciate it if you could follow my channel. I’ll keep posting solutions and staying updated with new challenges as much as possible!
2025-04-17Libcryptlibcrypt is a simple library used for encryption, hashing, and encoding in C. It is currently a work in progress.Using the LibraryTo use the library, include the crypt.h and crypt.c files in your project. Then, include the crypt.h file at the top of each file you'd like to use it's methods in. See test/crypt-test.c for example usage.To run the test file or the Base64 converter, run make from the project directory.MethodsThe following methods are available in the libcrypt library. Note that these methods return pre-allocated blocks of memory, and it is up to the user of the method to free the memory after use (shown below).rot13This method encodes a string of text using the ROT13 cipher.char *text = "The Quick Brown Fox Jumps Over The Lazy Dog.";char *rot13_encoded_text = rot13(text);printf("%s\n", rot13_encoded_text);// Outputs: Gur Dhvpx Oebja Sbk Whzcf Bire Gur Ynml Qbt.free(rot13_encoded_text);rot47This method encodes a string of text using the ROT47 cipher.AD ~G6C %96 {2KJ s@8]free(rot47_encoded_text);">char *text = "The Quick Brown Fox Jumps Over The Lazy Dog.";char *rot47_encoded_text = rot13(text);printf("%s\n", rot47_encoded_text);// Outputs: %96 "F:4AD ~G6C %96 {2KJ s@8]free(rot47_encoded_text);base64_encodeThis method encodes text using the Base64 encoding scheme.char *text = "The Quick Brown Fox Jumps Over The Lazy Dog.";char *base64_encoded_text = base64_encode(text);printf("%s\n", base64_encoded_text);// Outputs: VGhlIFF1aWNrIEJyb3duIEZveCBKdW1wcyBPdmVyIFRoZSBMYXp5IERvZy4=free(base64_encoded_text);base64_decodeThis method decodes Base64 encoded text.char *text = "VGhpcyBpcyBzb21lIGR1bW15IHRleHQgdG8gYmUgZW5jb2RlZCBhbmQgZGVjb2RlZC4=";char *base64_decoded_text = base64_decode(text);printf("%s\n", base64_decoded_text);// Outputs: This is some dummy text to be encoded and decoded.free(base64_decoded_text);md5This method hashes a given string using the MD5 hashing algorithm.char *text = "The quick brown fox jumps over the lazy dog."char *md5_text = md5(text);printf("%s\n", md5_text);// Outputs: e4d909c290d0fb1ca068ffaddf22cbd0free(md5_text);generate_uuidThis method This method generates a version 4 Universally Unique Identifier, which is randomly generated.char *uuid = generate_uuid();printf("%s\n", uuid);// Outputs 3586BD54-55C8-42D8-BE0E-74308A5B9D22free(uuid);UtilitiesBase64 ConverterIncluded in this library is a Base64 file converter utility, located in the file utils/b64.c. This utility will convert the contents of a file to or from Base64
2025-04-10