Re: Fwd: Command execution by creating file.

2023-06-21 Thread Greg Wooledge
On Wed, Jun 21, 2023 at 09:25:02AM +0530, LitHack wrote: > Sorry instead of alias we have to use the function. > > Corrected command: mkdir dir;cd dir;<>file;file()bash;* Even if we correct your "corrected" code for you, the basic issue remains: what "bug" are you claiming exists here? How does

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Lawrence Velázquez
On Tue, Jun 20, 2023, at 11:55 PM, LitHack wrote: > Sorry instead of alias we have to use the function. There is still no bug. You simply do not understand how the shell language works. (There's nothing wrong with that, of course, and questions are welcome at . But your "bug reports" have all b

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Dennis Williamson
On Tue, Jun 20, 2023 at 10:55 PM LitHack wrote: > Sorry instead of alias we have to use the function. > > Corrected command: mkdir dir;cd dir;<>file;file()bash;* > > Thanks and regards. > You don't need the function either. mkdir dir; cd dir; touch bash; * -- Visit serverfault.com to get yo

Re: Fwd: Command execution by creating file.

2023-06-20 Thread LitHack
Sorry instead of alias we have to use the function. Corrected command: mkdir dir;cd dir;<>file;file()bash;* Thanks and regards. On Wed, Jun 21, 2023, 8:46 AM Lawrence Velázquez wrote: > On Tue, Jun 20, 2023, at 10:52 PM, LitHack wrote: > > -- Forwarded message - > > From: LitHa

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Lawrence Velázquez
On Tue, Jun 20, 2023, at 10:52 PM, LitHack wrote: > -- Forwarded message - > From: LitHack > Date: Wed, Jun 21, 2023, 7:31 AM > Subject: Command execution by creating file. > To: > > > Special character '*' can be used to execute the command. > We have to just create a directory a

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Greg Wooledge
On Wed, Jun 21, 2023 at 08:22:19AM +0530, LitHack wrote: > Special character '*' can be used to execute the command. "Doctor, it hurts when I bend my arm like this!"

Fwd: Command execution by creating file.

2023-06-20 Thread LitHack
-- Forwarded message - From: LitHack Date: Wed, Jun 21, 2023, 7:31 AM Subject: Command execution by creating file. To: Special character '*' can be used to execute the command. We have to just create a directory and make a file of any character or word and then make alias of the