SelfCrypText v2.2

Antivirus, forensics, intrusion detection, cryptography, etc.
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#16 Post by technosaurus »

There are other uses for this method. Ever heard of upx or sqeeze?
http://source.netsurf-browser.org/?p=sq ... ;a=summary
http://upx.sourceforge.net/
the only difference is that their "encryption" method is just compression.

Rather than a small frontend decompressor, you can have any program frontend and embed any data. Unfortunately criminal entities have given steganography a bad name, so we don't see much of this.

I'll leave you with that thought to ponder the possibilities.

btw, I think my coolest idea yet, was to embed packages onto the end of its own screenshot - it even worked extremely well with thumb-nailer page generator programs for browsing, but then I figured we had enough different package systems already.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#17 Post by sc0ttman »

technosaurus wrote:btw, I think my coolest idea yet, was to embed packages onto the end of its own screenshot - it even worked extremely well with thumb-nailer page generator programs for browsing, but then I figured we had enough different package systems already.
Agreed, that was cool. (at least, it's the coolest one I understand)
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#18 Post by SFR »

@Techno:
I heard about UPX. Heard also about tools like PESpin (for Win), which provides encryption too (or is it just password protection??).

Once, I was started to code something, somehow related, but for regular files.
The idea was to embed files chosen by the user, pack & encrypt them into one, self-extracting container that can be reused later, like SelfCrypText.
In fact it was just a bit extended idea of self-extracting .exe archives under Windoze or those shell installers, like "amd-driver-installer.run".
But my vision was too fuzzy - I didn't know what I want to achieve actually, so current project status: abandoned. :wink:

I appreciate your tips, maybe something will grow out of them someday...
disciple wrote:Cool, a stand-alone secret diary :)
I'm glad you like it. :)
Unfortunately there's some kind of size limit of <edit> in Gtkdialog and when that limit (~128K in my tests) is exceeded strange things happen. :?
The workaround could be multiple, separate notes in a list; perhaps I'll try do to something like this in the future.

Thanks & Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#19 Post by SFR »

SFR wrote:[...]multiple, separate notes in a list[...]
Initially I thought it'll be easier to implement, but finally here it is.

SelfCrypText-v2.2

The general idea remained unchanged, the only (visible) change is handling of multiple notes.

Requirements:
Gtkdialog >= 0.7.21, Xdialog, openssl + usual set of tools like: cut, grep, tr, sed, awk and so on...

Additional info:
1. Each note can be encrypted with its own unique passphrase.
2. Maximum size of single note: ~128K (in my tests).
3. Maximum size of all notes: ~64M (theoretically).
4. Maximum amount of notes: unknown.

Known issues:
- In "Notes List" if you click empty space (and not specific note), all disabled buttons and fields will become enabled, but even if you write some text, such non-assigned note won't be saved anywhere.
- Special characters like: * : | / \ $ ^ & as well as leading and trailing spaces are not allowed in titles; if used anyway - they will be trimmed out and replaced with _.

_________________

Written on Slacko-5.3.3

Have fun & Greetings!
Attachments
SelfCrypText-v2.0.jpg
Screenshot
(101.23 KiB) Downloaded 796 times
SelfCrypText-v2.2.gz
Extract and click to launch.
(3.69 KiB) Downloaded 903 times
Last edited by SFR on Tue 25 Jun 2013, 14:46, edited 3 times in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#20 Post by SFR »

Update, version 2.1:

- Added progressbar during data extracting and saving (it's useful when there's a lot of notes)
- Program window is now a bit more flexible (better look when maximized/resized)
- One trivial modification and SelfCrypText is compatible with Gtkdialog 0.7.21 again, so there's also a big chance that it'll be more compatible with some other distros (tried in PCLinuxOS - seems to work fine); the only issue is that buttons aren't expanded to fill all available space (in 0.7.21 only).
- Lots of minor, internal improvements

New version has been attached to my previous post (see above).
___________

Update, version 2.2 (2013-06-25):
- bugfix: crashing in FatDog due to use of "\xa0" as a "hidden" character; changed to "\xe2\x81\xa3".

See previous post...

Greetings!
Last edited by SFR on Tue 25 Jun 2013, 14:45, edited 1 time in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#21 Post by technosaurus »

SFR wrote:Using Pizzasgood's idea I've applied ramdisk as a storage for temp file.
I believe it's more reasonable way than dabbling with dd and shred.

Dynamic ramdisk has been set to max. 1 MB, but I think it's more than enough.
I missed this comment earlier. You can use /dev/shm too, which most distros including puppy set up as a tmpfs for programs to quickly share data with each other. Just remember to remove temps when finished so you don't prevent other programs using it due to lack of space.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#22 Post by SFR »

Thanks Technosaurus, I didn't know about that 'shared memory' thingy.
Looks handy. :wink:

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply