LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-24-2010, 07:46 AM   #1
DinoFly
Member
 
Registered: Nov 2007
Distribution: Fedora, CentOS,
Posts: 72

Rep: Reputation: Disabled
Revert from shc


Hi guys

I did work on a script and I created it on "/tmp" dir, I thought I made backup of them, and apparently I did not. But here is a question to you.

I converted these scripts into binary files via shc, and I have them (.sh.c). Is there any way to revert these files back to .sh or I have to write the scripts back from the beggining, or is there any way to restore files from "/tmp" dir older than a month.

Thank you very much for your time.
 
Old 05-25-2010, 03:06 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be a method here ...
( Found with 'Google' .. debug shc file to script .. ).
http://fixunix.com/linux/1460-shc-pr...ulnerable.html
QUOTE :
""............. when you see "---Type to continue, or q to quit---" at the
bottom of the terminal screen, type the Enter key, until you see something
different: that is the original script!!! ""

..

Last edited by knudfl; 05-25-2010 at 03:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN revert jdwilder General 3 07-15-2008 01:42 PM
How to revert back fdisk changes ? p_s_shah Linux - Server 1 04-10-2008 03:42 PM
how to revert noclobber LinuxLover Linux - General 2 02-22-2008 01:32 AM
Regarding Shell Script Compiler SHC gjagadish Programming 2 06-07-2006 02:31 AM
tcl 8.4 - revert to 8.3? zipur Linux - Software 0 12-16-2004 02:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration