Whiteboy
Whiteboy
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
TL:DR
.Replace("\r\n", "\n")
.Replace("\r\n", "\n")
Fixed issue of copying file as string to linux
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
it executes tho
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
No description
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
but i guess it will now
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
it wil ltets whole case and see if all works
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
it did
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
No description
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
A WEEK
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
FOR
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
I WAS STUCK ON THIS
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
I LOVE YOU
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
BRO
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
2024-04-24 13:31:42 total 12K 2024-04-24 13:31:42 drwxr-xr-x 2 root root 4.0K Apr 24 11:31 . 2024-04-24 13:31:42 drwxr-xr-x 1 root root 4.0K Apr 24 11:31 .. 2024-04-24 13:31:42 -rwxrwxrwx 1 root root 24 Apr 24 11:31 ExaminationFile.sh 2024-04-24 13:31:42 #!/bin/bash 2024-04-24 13:31:42 2024-04-24 13:31:42 echo "foo" 2024-04-24 13:31:42 /myApp
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
Cmd = new List<string>
{
"bash",
"-c",
$"echo '{examinationFileAsString.Replace("\r\n", "\n")}' > ExaminationFile.sh && " +
$"chmod 777 ExaminationFile.sh && " +
$"ls -alh && " +
$"cat ./ExaminationFile.sh && " +
$"pwd &&" +
$"./ExaminationFile.sh > testCount.txt"
},
Cmd = new List<string>
{
"bash",
"-c",
$"echo '{examinationFileAsString.Replace("\r\n", "\n")}' > ExaminationFile.sh && " +
$"chmod 777 ExaminationFile.sh && " +
$"ls -alh && " +
$"cat ./ExaminationFile.sh && " +
$"pwd &&" +
$"./ExaminationFile.sh > testCount.txt"
},
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
:kekw:
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
2024-04-24 13:29:07 total 12K 2024-04-24 13:29:07 drwxr-xr-x 2 root root 4.0K Apr 24 11:29 . 2024-04-24 13:29:07 drwxr-xr-x 1 root root 4.0K Apr 24 11:29 .. 2024-04-24 13:29:07 -rwxrwxrwx 1 root root 14 Apr 24 11:29 ExaminationFile.sh 2024-04-24 13:29:07 #!/bin/bash 2024-04-24 13:29:07 2024-04-24 13:29:07 /myApp 2024-04-24 13:29:07 bash: line 2: ./ExaminationFile.sh: cannot execute: required file not found
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
Cmd = new List<string>
{
"bash",
"-c",
$"echo '{examinationFileAsString.Remove('\r')}' > ExaminationFile.sh && " +
$"chmod 777 ExaminationFile.sh && " +
$"ls -alh && " +
$"cat ./ExaminationFile.sh && " +
$"pwd &&" +
$"./ExaminationFile.sh > testCount.txt"
},
Cmd = new List<string>
{
"bash",
"-c",
$"echo '{examinationFileAsString.Remove('\r')}' > ExaminationFile.sh && " +
$"chmod 777 ExaminationFile.sh && " +
$"ls -alh && " +
$"cat ./ExaminationFile.sh && " +
$"pwd &&" +
$"./ExaminationFile.sh > testCount.txt"
},
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
well i can make simple method to fix this no?
121 replies
CC#
Created by Whiteboy on 4/24/2024 in #help
✅ Executing bash script in docker container with Docket.DotNet in ASP.NET website
2024-04-24 13:26:25 total 12K 2024-04-24 13:26:25 drwxr-xr-x 2 root root 4.0K Apr 24 11:26 . 2024-04-24 13:26:25 drwxr-xr-x 1 root root 4.0K Apr 24 11:26 .. 2024-04-24 13:26:25 -rwxrwxrwx 1 root root 26 Apr 24 11:26 ExaminationFile.sh 2024-04-24 13:26:25 #!/bin/bash 2024-04-24 13:26:25 2024-04-24 13:26:25 echo "foo" 2024-04-24 13:26:25 /myApp 2024-04-24 13:26:25 bash: line 3: hexdump: command not found
121 replies