From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23793 invoked from network); 21 Jun 2023 02:02:20 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2023 02:02:20 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1687312940; b=nLhJCRJYNenGqK07/xG9uHNUEq78P6OMtA9hgWe9z7tml3z7gmwh6xhlLyBPzbSMJnUNIzm9Ht FMA0+KgnxoaA72MsV1SUXhaVilCLMIC0uBPy7ggIQ1CZwJy/4fYucY1N9xx0NEEYW2DwW1Y8WO FyF3Xmo/h3cMtAMBg9HgjqY7PP2h3qAeK5DQksY3pdN5UbhObkcrh4rMBXrU2Lr3nJbEE3bopn w5HEzD8NNIvct7dAcrWttX5tBY0jIZZKitIgHYsxH2C1P84r5Vw9R7v4MiA6OoQfaRTDIl/wwI bf4jRoLTCx7PLqdUFRIT6wrp4g6/oCmOuPR/8H+toLuB4Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f171.google.com) smtp.remote-ip=209.85.208.171; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1687312940; bh=LA+NhiaJXRXLu5A1RH/EIAumFrVRvfkZaRuPztwhRv0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:MIME-Version: DKIM-Signature:DKIM-Signature; b=iMwKBnG2ZJU3/3per0+XS31e6BXHf0MRMVVsXp0H5obC2uF3M+6uhAklV59I7dru7AfWKR0eiC g0mepnChenq1YBnQmEgLh0QZ043VEKxrzV7gBC8K0vSl0+K/6g694+f574PzWCW/3aild0Ut8z +Bn2mCfE0wcLnA4NzuTdlRRsVqgOY+VWDO3xKrTQ9ib+KoODzXo/9+qIYq7QExfHhOiVvd1iPU XgtOOb+yBmoxunm1QL/AkIdmbbD9aLst5gkgX6VAoqzOhRqV9XLrbj5+v5RWdI5EESw235EcYQ if9Hj1sq6jBHsKwCXpVrq2C6NCOY7MzMxSzARzPszSzv1w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:MIME-Version:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=LA+NhiaJXRXLu5A1RH/EIAumFrVRvfkZaRuPztwhRv0=; b=V/lxvTiwjLF7vL0ZNss4tDh8lB 0rDJ0e3qK+fbUyZDzeyrODP/0l7Sw/UBFea2M8sKAioT5wd6xG5ro3LWZMjkqW5Lj74Tn+01CI5hi o1IacmHgTZH3rbAF4ghZN5rZUIMbWA80mzKiviPorl9yloHy60j6SHIHleHsunjUaQOG6Ca2pFf0Y wQijuVduteWFHyEroXNXkH56onP1L4f679cpOPzrSoLi/qN3fU1cBBMhe+7eaV94fXvYkYyN8ziWx edMzMmgNVmo/XUNhRhj13Hz29ogH/91E+ucbkBnqUk3EIT1gtdySpspzVsofs4jD4TelAuqRNudrf PsFnsKig==; Received: by zero.zsh.org with local id 1qBnAq-000H1j-2G; Wed, 21 Jun 2023 02:02:20 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f171.google.com) smtp.remote-ip=209.85.208.171; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f171.google.com ([209.85.208.171]:60859) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1qBnAV-000Gl5-Be; Wed, 21 Jun 2023 02:02:00 +0000 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2b466073e19so57920151fa.1 for ; Tue, 20 Jun 2023 19:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687312918; x=1689904918; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=LA+NhiaJXRXLu5A1RH/EIAumFrVRvfkZaRuPztwhRv0=; b=ezgGwc0Ryd2hmP6hpHOtWeI3S6Jv04J6pF8n+D3AYmW35bnTfsolo0CbDbnfAh4THu tZx2arnjPtxi/ou/MX1qwmRmDfvwYGxecGcvtqX7SKvALr59BD2hZBGCLBxQPoW+Ty71 donpqFg16varOlOzZd9vhqZsfljMyH3RYN5UH65EwsSHoPg9NgEk+go87LWOJ7lDt8UZ UyjaEgVSVjXTCN3iaipHJOgAzo4UCYLAAW9rsnZCuq5BVvB9NMCPGxqbG6kFhHIk1LZv fHsDnMfcEDXmhitBpk0lQG4UEs2v+ozEK1JuadrGA7Kmjxxi+pdGOLqn5VKdM/WBZ86a bb0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687312918; x=1689904918; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LA+NhiaJXRXLu5A1RH/EIAumFrVRvfkZaRuPztwhRv0=; b=EFx6dJBGFI3W3ph/7ZG254nmlItQP/gQ9JuwoQSFP883amaKIWoCqxlkt6EKehb6I/ 8kUdo2h8Da9ylM5gxgBVrNcZh+4bFuNxEinV6m9ZicQLFPmwmnyTEr1YnUaB/KeHD9Tb 3GaKul5ukm7QKaH0QVZHV2zmjnDw+EI2cBnfbUkRXvMJrc4BG6Xh4W8ncVnX3APLuwoD 77thA734ZOshcyApjZnFJe9+UMHVmOSRv+Xv4NIslr6xXKcXP7u6Eajtr22DrcQIdlsk bUC4cilrjJTvUhfgORaJww7EXSJHN4Qk4MJoFYBky/Glg6SkoVeepcexpye67WzKbr12 /uPg== X-Gm-Message-State: AC+VfDzU0ZtEv2BL/fC9/J17dwe28IccD4SNIvIm5T/0wFBNm8BWWuy8 VR4MZtMyBlrXpgoYmUGDI0uEljfp7yyEm50ZyAdzMqwR X-Google-Smtp-Source: ACHHUZ7vXdmODzls/XKHDU9ZSy28qGiRp6zpJwTKjyysWHZUBvgxiVKwN/rJNy+RhMjpAnbDTpLbFovzCywgb8eGnmE= X-Received: by 2002:a19:6714:0:b0:4f8:5713:7dd5 with SMTP id b20-20020a196714000000b004f857137dd5mr8239952lfc.10.1687312917783; Tue, 20 Jun 2023 19:01:57 -0700 (PDT) MIME-Version: 1.0 From: LitHack Date: Wed, 21 Jun 2023 07:31:46 +0530 Message-ID: Subject: Command execution by creating file. To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="00000000000016eefb05fe9a272e" X-Seq: 51880 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --00000000000016eefb05fe9a272e Content-Type: text/plain; charset="UTF-8" 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 command which we want to execute assigned with created file. Now just type the * in terminal and you will that the command be executed. But why this happens, * (special character) is used for auto completion and if used as alone it should just print the name of file why it's execute the file name as command. Command:mkdir dir;cd dir:<>file;alias file=ls -l;* --00000000000016eefb05fe9a272e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Special character '*' can be used to execute the = command.
We have to just create a directory and make a fil= e of any character or word and then make alias of the command which we want= to execute assigned with created file. Now just type the * in terminal and= you will that the command be executed.
But why this= happens, * (special character) is used for auto completion and if used as = alone it should just print the name of file why it's execute the file n= ame as command.
Command:mkdir dir;cd dir:<>fil= e;alias file=3Dls -l;*=C2=A0
--00000000000016eefb05fe9a272e--