Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing TAB at file_to_execute #68

Open
CodeMaxx opened this issue Jul 13, 2016 · 14 comments
Open

Pressing TAB at file_to_execute #68

CodeMaxx opened this issue Jul 13, 2016 · 14 comments

Comments

@CodeMaxx
Copy link
Contributor

This happens

https://s32.postimg.org/5nonvgrvp/Screen_Shot_2016_07_13_at_11_21_05_PM.png

@Ali-Razmjoo
Copy link
Collaborator

hello, what's your OS ?

@CodeMaxx
Copy link
Contributor Author

OS X

@Ali-Razmjoo
Copy link
Collaborator

I've tested it on osx with python2.7, what version of python and os are you using ?

@CodeMaxx
Copy link
Contributor Author

python 2.7 and os x 10.11.5

@CodeMaxx
Copy link
Contributor Author

btw I hope you are pressing TAB multiple times

@Ali-Razmjoo
Copy link
Collaborator

okay, i will test it soon.

@jowasp
Copy link
Collaborator

jowasp commented Jul 16, 2016

The bug I see is that you need to press TAB at least 2 times to get the first menu items.
When you are into 'file_to_execute', you press once and the file_to_execute appears

I find more an issue that you need to press twice the tab for the first items to appear (after generate command)

zsc/shellcode/generate> 
linux_x86  osx_x86    windows    
zsc/shellcode/generate> linux_x86
zsc/shellcode/generate/linux_x86> 
chmod             download_execute  script_executor   
dir_create        exec              system            
download          file_create       write             
zsc/shellcode/generate/linux_x86> exec
zsc/shellcode/generate/linux_x86/exec> file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:

@Ali-Razmjoo
Copy link
Collaborator

double tab in the menu it's because of you have multiples choices, and when you have just one, it works with one tab. but BTW it should not be like this

zsc/shellcode/generate/linux_x86/exec> file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:

i will check it once i get osx.

@Ali-Razmjoo
Copy link
Collaborator

@CodeMaxx @jowasp please test if it fixed with #66 , I had some changed related to this on this commit, thanks.

@CodeMaxx
Copy link
Contributor Author

@jowasp Pressing Tab twice (when you have not filled anything) is normal
behaviour. If you have more than 1 match to your autocomple query you'll
have to press TAB twice to see all matching results. If there is only one
match(e.g on starting zsc you write "sh" and press TAB once it would
autocomplete) then pressing TAB once would work.

On Sun, 17 Jul 2016 04:35 jowasp, [email protected] wrote:

The bug I see is that you need to press TAB at least 2 times to get the
first menu items.
When you are into 'file_to_execute', you press once and the
file_to_execute appears

I find more an issue that you need to press twice the tab for the first
items to appear (after generate command)

zsc/shellcode/generate>
linux_x86 osx_x86 windows
zsc/shellcode/generate> linux_x86
zsc/shellcode/generate/linux_x86>
chmod download_execute script_executor
dir_create exec system
download file_create write
zsc/shellcode/generate/linux_x86> exec
zsc/shellcode/generate/linux_x86/exec> file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#68 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZOJfu4MCD_EofZ0DjfyZealECKoBY3ks5qWWOYgaJpZM4JLuro
.

Second Year Undergraduate,
Computer Science,
IIT Bombay.
https://codemaxx.github.io/

@CodeMaxx
Copy link
Contributor Author

Ignore the above comment. Ali already explained it

On Sun, 17 Jul 2016 10:05 Akash Trehan, [email protected] wrote:

@jowasp Pressing Tab twice (when you have not filled anything) is normal
behaviour. If you have more than 1 match to your autocomple query you'll
have to press TAB twice to see all matching results. If there is only one
match(e.g on starting zsc you write "sh" and press TAB once it would
autocomplete) then pressing TAB once would work.

On Sun, 17 Jul 2016 04:35 jowasp, [email protected] wrote:

The bug I see is that you need to press TAB at least 2 times to get the
first menu items.
When you are into 'file_to_execute', you press once and the
file_to_execute appears

I find more an issue that you need to press twice the tab for the first
items to appear (after generate command)

zsc/shellcode/generate>
linux_x86 osx_x86 windows
zsc/shellcode/generate> linux_x86
zsc/shellcode/generate/linux_x86>
chmod download_execute script_executor
dir_create exec system
download file_create write
zsc/shellcode/generate/linux_x86> exec
zsc/shellcode/generate/linux_x86/exec> file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:file_to_execute
file_to_execute
file_to_execute:


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#68 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANZOJfu4MCD_EofZ0DjfyZealECKoBY3ks5qWWOYgaJpZM4JLuro
.

Second Year Undergraduate,
Computer Science,
IIT Bombay.
https://codemaxx.github.io/

Second Year Undergraduate,
Computer Science,
IIT Bombay.
https://codemaxx.github.io/

@CodeMaxx
Copy link
Contributor Author

Not fixed yet. So this is happening everywhere not just file_execute. Also I don't think it should be OS specific but it might be.

https://s32.postimg.org/5ewck5vth/Screen_Shot_2016_07_17_at_10_30_35_AM.png

@jack17529
Copy link

In my kali linux after exec command I press 1 tab and get to get file_to_execute.
When I press tab second time after it nothing happens.
When I press tab again I get the file_to_execute written on next line and not only this but also the next line with the previous option written in the end.
Now when I press enter it executes.
I get file_to_execute> written I press tab it sets it to file_to_execute again.
It loops again and again if you keep pressing tab.
Leaves the loop If you press enter.
Then the file is set to file_to_execute and the option table appears.
screenshot from 2016-12-26 15 22 11

@jack17529
Copy link

And also this image
screenshot from 2016-12-26 15 31 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants