Home| Progetto| Web| Faq| Acronimi | ||||
Argomenti Documenti pubblicabili:1120
Scripts:1282 Documenti non pubblicabili:162 Categorie tematiche:68 .Net |_C# |_Visual basic.net |_Asp.net Active Server Pages C++ Cascade Style Sheet JavaScript Mysql Php Xml Java |_Java 2 Micro Edition |_Java server pages |_Java Servlet Oracle |_PLSQL PostgreSQL Unix
Oracle...
Script:
dbms_output.put_line
Unix...
Tip:
How remove a file named -r
PLSQL...
Script:
Esempio funzione
Shell scripting...
Script:
How to get size or other file info in a shell script
A User Agent, like a web browser, uses HTTP to request a HTML document
Php Funzione mail()
In programming the danger of exploring the small details of coding is that you get obsessed with every line of code you write, thereby greatly reducing productivity.
In general, is not worth obsessing over code. On the other hand you should code with deliberation and intent. Steven Feurstein Oracle Magazine July /August 2004 A User Agent, like a web browser, uses HTTP to request a HTML document
|
Shell scripting
Home >Shell scripting > Criptare e decriptare openssl
L'utility openssl permette di criptare e decriptare stringhe e testi.
# per criptare:
echo "Parola Secreta"| openssl enc -aes-128-cbc -a -salt -pass pass:mypass U2FsdGVkX1/9WvjWOtddJUsQu8KE5Oeu3mn//RTxQyE= #per de-criptare (un -d in più) echo U2FsdGVkX1/9WvjWOtddJUsQu8KE5Oeu3mn//RTxQyE= | openssl enc -aes-128-cbc -a -d -salt -pass pass:mypass Parola Secreta Quando il risultato della criptazione supera la riga (in questo caso 64 caratteri) diventa complesso riconvertirlo in chiaro uilizzando echo come sopra, anche l'utilizzo di una variabile non registra coorettamente l'accapo,la nuova riga e pertanto la conversione in chiaro restituisce l'errore error reading input file.
echo "Questo è un testo lungo da criptare con openssl "| openssl enc -aes-128-cbc -a -salt -pass pass:mypass
Quindi quando il testo è più lungo di una riga può essere utile salvare l'output in un file è convertire via cat del file
U2FsdGVkX19vsb4WDZ6JPokgbxnTIv09f8pzQDva/Vk44zXf4NazN9D/WVKp+JqS LL4nvLKTzfD2qUiXduZV1A==
# cript test lungo
echo "Questo è un testo lungo da criptare con openssl "| openssl enc -aes-128-cbc -a -salt -pass pass:mypass > secret.txt # de-cript test lungo ecat secret.txt | openssl enc -aes-128-cbc -a -salt -pass pass:mypass Warning: include(ads/text468x15.html): failed to open stream: No such file or directory in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Warning: include(): Failed opening 'ads/text468x15.html' for inclusion (include_path='.;C:\php\pear') in D:\inetpub\webs\fishscriptcom\documents\view_document.php on line 131 Tutorial ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Script ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Comandi ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
CercaAnger is creative, depression is useless.
Dyson, Freeman J. Anger is creative, depression is useless.
Dyson, Freeman J.
Oracle...
Definizioni:
Area PGA
Shell scripting...
Script:
Pulire i file provenienti da ambieti dos/ windoes da caratteri sporchi
fishScript.Com is accessible by Mobile access technology
as mobile phones, Palm and Pocket PC .
Nicoleta e Marco Magnani tutorial, examples, courses, esempi, corsi, esercizi, appunti vari Dottoressa Nicoleta Dragu Formatrice Docente Insegnante Mediatrice Culturale Dott. Marco Magnani Universita La Sapienza Roma Master Computer Science Hunter College New York , Data Base Administrator DBA oracle System architect |