New linux smart enumeration tool

wow, very nice. tested on friendzone… really cool

Type your comment> @Sekisback said:

wow, very nice. tested on friendzone… really cool

Thank you! I am glad it was useful to you.

cool stuff, thanks for the new tool :slight_smile:

Type your comment> @legat0 said:

cool stuff, thanks for the new tool :slight_smile:

You are welcome! Thank you for your words

Awesome tool! It really helps boil down information to only what’s useful.

I just used this tool last night and it awesome. Keeping information in a concise manner. I recommend l2 though. I was able to use the tool to get a hint for privesc in an active machine.

Dear bro
Thanks a lot for the tool…
I tried it in couple of boxes …
In Irked it doesnt showed me the uncommon SUID binary .
But for band and october it was spot on

I wish it show the name of the OS like Ubuntu LTS … and the date

Awesome job bro …keetp up the good work

Type your comment> @sillydaddy said:

Dear bro
Thanks a lot for the tool…
I tried it in couple of boxes …
In Irked it doesnt showed me the uncommon SUID binary .
But for band and october it was spot on

I wish it show the name of the OS like Ubuntu LTS … and the date

Awesome job bro …keetp up the good work

Thank you for your words and your suggestion. I will look into adding that information. If you could add an issue request in github that would also help me remember to work on it.

Type your comment> @0xd1360b said:

Type your comment> @sillydaddy said:

Dear bro
Thanks a lot for the tool…
I tried it in couple of boxes …
In Irked it doesnt showed me the uncommon SUID binary .
But for band and october it was spot on

I wish it show the name of the OS like Ubuntu LTS … and the date

Awesome job bro …keetp up the good work

Thank you for your words and your suggestion. I will look into adding that information. If you could add an issue request in github that would also help me remember to work on it.

sure … I have not done that before (adding issue in github)…Let me figure it out …
thanks again …

Nice, gonna check it later and give some feedback :slight_smile:

I already love the separate verbosity levels. Sometimes there’s an easy win that’s a pain to find if you have to scroll through 10K lines of linenum output.
As with everyone else in the thread, I’m gonna check it out later.

Well, this came just in time. I was about to start digging into the linenum script to break it down into discreet parts :slight_smile:

I’ve given it a quick spin this morning, looks solid and having multiple verbosity levels is a definite plus. Also appreciate the no colours switch.

I’ll raise an issue in github if I run into any issues. Keep up the good work!

Thank you guys. I am glad the tool is useful. Please do not hesitate to report bugs or add suggestions in github. They are very welcome!

forgive my newbie-ness but how do i actually run this on a box?

Although the wget part does not work directly from github. You need to either upload it (i.e. copy and paste, scp, …) or download it from your machine (wget, curl, …).

Type your comment> @Gizmet said:

forgive my newbie-ness but how do i actually run this on a box?

One of the things that I use to do when I am working on a box is to create a directory called “resources”. Inside that directory I place all the tools that I can use, like lse.sh. Then I run “python -m SimpleHTPServer” inside that directory so I can access the contents on that directory from the box using the url “http://[my_ip]:8000/[tool]” (i.e.: wget “http://10.10.12.14:8000/lse.sh”)

ok, think im following along with that! thank you, would it be ok to pm you a few more questions ?..save filling the thread up …

Type your comment> @Gizmet said:

ok, think im following along with that! thank you, would it be ok to pm you a few more questions ?..save filling the thread up …

Sure. Althoug maybe your questions might help other people too. But if you prefer to PM me, please go ahead.

when you say

“when I am working on a box I create a directory called “resources”. Inside that directory I place all the tools that I can use,”

do you mean, a local folder? or a folder on the victim ?

Type your comment> @Gizmet said:

when you say

“when I am working on a box I create a directory called “resources”. Inside that directory I place all the tools that I can use,”

do you mean, a local folder? or a folder on the victim ?

I mean in a local folder. I try to keep track of what I do in each box and challenge so I have a directory structure like this:

+ hackthebox.eu/
|
+-+- challenges/
| |
| +-+- category_1/
| | |
| | +--- challenge_1/
| | :
| :
|
+-+- machines/
| |
| +-+- machine_1/
| | |
| | +--- resources/ : directory with tools to exploit and enumerate
| | |
| | +--- files/ : directory with files that I download from the machine
| | |
| | +--- nmap/ : directory with nmap results
| | |
| | +--- machine_1.ctb : cherrytree file for the machine.
| :
: 

So I place things like lse.sh in my resources/ directory and then run python -m SimpleHTTPServer there so I can retrieve those resources from the box.

As a bonus, a trick that I do with tools inside resources, as they are used in several boxes, instead of copy them, I create a hard link (ln [path_to_tool]). This way I save space and also keep everything updated.