Re: a hexeditor please

2018-02-10 Thread Gene Heskett
On Saturday 10 February 2018 17:43:48 Stefan Pietsch wrote:

> On 09.02.2018 18:28, Gene Heskett wrote:
> >> If you like the command line try radare2:
> >>
> >> https://screenshots.debian.net/package/radare2
> >> https://radare.gitbooks.io/radare2book/content/search_bytes/intro.h
> >>tml
> >
> > Looks interesting, will it run on 32 bit wheezy?
>
> Yes, it runs on i386 wheezy.
>
> But the wheezy package is rather old and has some security issues:
> https://security-tracker.debian.org/tracker/source-package/radare2

Rather looks like I had better let that dog sleep. Thanks for the update.


-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: a hexeditor please

2018-02-10 Thread Stefan Pietsch
On 09.02.2018 18:28, Gene Heskett wrote:

>> If you like the command line try radare2:
>>
>> https://screenshots.debian.net/package/radare2
>> https://radare.gitbooks.io/radare2book/content/search_bytes/intro.html
>>
> Looks interesting, will it run on 32 bit wheezy?

Yes, it runs on i386 wheezy.

But the wheezy package is rather old and has some security issues:
https://security-tracker.debian.org/tracker/source-package/radare2



Re: a hexeditor please

2018-02-09 Thread Felix Miata
Gene Heskett composed on 2018-02-09 12:09 (UTC-0500):

> So how the hell do we stop udev from automounting it?

Create a noauto /etc/fstab entry for it using UUID or LABEL.

tsk, tsk, tsk for not remembering your Swiss army knife mc before starting the
thread. :-)
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: a hexeditor please

2018-02-09 Thread Gene Heskett
On Friday 09 February 2018 11:11:12 Stefan Pietsch wrote:

> On 09.02.2018 16:36, Gene Heskett wrote:
> > Trying to scan thru an 8Gb file dd has made of an sd card, I find
> > khexedits lack of a scroll bar to be a huge hindrance.
> >
> > Do we have one of those critters that will let me scan thru a file
> > that big looking for data besides 00 00, and will do it yet this
> > year?
> >
> > Story so far:
> >
> > 64 gb card from a working rock64. Edited 60-persistent-storage.rule
> > to exclude /dev/sdd so gparted could shrink the last partition down
> > to a usable size, but still above the occupied area.
> >
> > Used dd to make a file of the first 8Gb, wrote that 8Gb to another
> > identical 64Gb card. gparted says its a blank card. So I want to
> > inspect the file, but khexedit, with no scroll bar, makes that down
> > arrow scan a multiyear project.
> >
> > Do we have a better hex editor?
>
> If you like the command line try radare2:
>
> https://screenshots.debian.net/package/radare2
> https://radare.gitbooks.io/radare2book/content/search_bytes/intro.html
>
Looks interesting, will it run on 32 bit wheezy?
>
> Regards,
> Stefan

Thanks.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: a hexeditor please

2018-02-09 Thread Gene Heskett
On Friday 09 February 2018 10:53:58 to...@tuxteam.de wrote:

> On Fri, Feb 09, 2018 at 10:36:10AM -0500, Gene Heskett wrote:
> > Greetings all;
> >
> > Trying to scan thru an 8Gb file dd has made of an sd card, I find
> > khexedits lack of a scroll bar to be a huge hindrance.
> >
> > Do we have one of those critters that will let me scan thru a file
> > that big looking for data besides 00 00, and will do it yet this
> > year?
> >
> > Story so far:
>
> [...]
>
> You sure you want an *editor*, as in "you plan on edit things"?
>
> If not, hexdump -C is your friend (it will abbreviate reams of
> zeros and other repeated stuff by default). From hexdump's fine
> manual:
>
>   The options are as follows:
>   [...]
>   -v  Cause hexdump to display all input data.  Without
>   the -v option, any number of groups of output lines,
>   which would be identical to the immediately preceding
>   group of output lines (except for the input offsets),
>   are replaced with a line comprised of a single asterisk.
>
> Cheers
> -- t

Thanks, it is working fine, but even at 7*10ee33 fenceposts a minute, 
will take it a while to get to end end of the files data.  That will be 
at offset about e000 I think. Maybe a bit more, but the first gig 
sure isn't blank. I am thinking the file is probably good. And despite 
adding that skip me rule to udev, the source card is being shown as 
mounted on my tde gui.

So how the hell do we stop udev from automounting it?



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: a hexeditor please

2018-02-09 Thread Fred

On 02/09/2018 08:36 AM, Gene Heskett wrote:

Greetings all;

Trying to scan thru an 8Gb file dd has made of an sd card, I find
khexedits lack of a scroll bar to be a huge hindrance.

Do we have one of those critters that will let me scan thru a file that
big looking for data besides 00 00, and will do it yet this year?

Story so far:

64 gb card from a working rock64. Edited 60-persistent-storage.rule to
exclude /dev/sdd so gparted could shrink the last partition down to a
usable size, but still above the occupied area.

Used dd to make a file of the first 8Gb, wrote that 8Gb to another
identical 64Gb card. gparted says its a blank card. So I want to inspect
the file, but khexedit, with no scroll bar, makes that down arrow scan a
multiyear project.

Do we have a better hex editor?

Thanks all;


How about using a text editor (like nedit) that has a search function.

Best regards,
Fred



Re: a hexeditor please

2018-02-09 Thread Gene Heskett
On Friday 09 February 2018 10:42:06 Eduardo M KALINOWSKI wrote:

> On sex, 09 fev 2018, Gene Heskett wrote:
> > Greetings all;
> >
> > Trying to scan thru an 8Gb file dd has made of an sd card, I find
> > khexedits lack of a scroll bar to be a huge hindrance.
>
> I find it hard to believe it doesn't. And some (old, it's true)
> screenshots I found show a scroll bar.
>
> Perhaps the scroll bar is hidden unless the mouse is over it?
>
> > Do we have a better hex editor?
>
> emacs with hexl-mode?

I had forgotten that mc could do a quite stirling job of that, and it 
shows the last valid data at around 5.3 gb into the file, so the file 
seems to be good. But next, fix the missus some breakfast.



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: a hexeditor please

2018-02-09 Thread Stefan Pietsch
On 09.02.2018 16:36, Gene Heskett wrote:

> Trying to scan thru an 8Gb file dd has made of an sd card, I find 
> khexedits lack of a scroll bar to be a huge hindrance.
> 
> Do we have one of those critters that will let me scan thru a file that 
> big looking for data besides 00 00, and will do it yet this year?
> 
> Story so far:
> 
> 64 gb card from a working rock64. Edited 60-persistent-storage.rule to 
> exclude /dev/sdd so gparted could shrink the last partition down to a 
> usable size, but still above the occupied area.
> 
> Used dd to make a file of the first 8Gb, wrote that 8Gb to another 
> identical 64Gb card. gparted says its a blank card. So I want to inspect 
> the file, but khexedit, with no scroll bar, makes that down arrow scan a 
> multiyear project.
> 
> Do we have a better hex editor?

If you like the command line try radare2:

https://screenshots.debian.net/package/radare2
https://radare.gitbooks.io/radare2book/content/search_bytes/intro.html


Regards,
Stefan



Re: a hexeditor please

2018-02-09 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, Feb 09, 2018 at 10:36:10AM -0500, Gene Heskett wrote:
> Greetings all;
> 
> Trying to scan thru an 8Gb file dd has made of an sd card, I find 
> khexedits lack of a scroll bar to be a huge hindrance.
> 
> Do we have one of those critters that will let me scan thru a file that 
> big looking for data besides 00 00, and will do it yet this year?
> 
> Story so far:

[...]

You sure you want an *editor*, as in "you plan on edit things"?

If not, hexdump -C is your friend (it will abbreviate reams of
zeros and other repeated stuff by default). From hexdump's fine
manual:

  The options are as follows:
  [...]
  -v  Cause hexdump to display all input data.  Without
  the -v option, any number of groups of output lines,
  which would be identical to the immediately preceding
  group of output lines (except for the input offsets),
  are replaced with a line comprised of a single asterisk.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlp9xBYACgkQBcgs9XrR2kZQTQCfUIvliF+9j7UsmKhsjps4s6nz
zmoAnif1zQ/a4NIDoIqkCl4iOlcnYrbf
=Yy9P
-END PGP SIGNATURE-



Re: a hexeditor please

2018-02-09 Thread Eduardo M KALINOWSKI

On sex, 09 fev 2018, Gene Heskett wrote:

Greetings all;

Trying to scan thru an 8Gb file dd has made of an sd card, I find
khexedits lack of a scroll bar to be a huge hindrance.


I find it hard to believe it doesn't. And some (old, it's true)  
screenshots I found show a scroll bar.


Perhaps the scroll bar is hidden unless the mouse is over it?


Do we have a better hex editor?


emacs with hexl-mode?

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br