shell bypass 403

UnknownSec Shell

: /bin/ [ dr-xr-xr-x ]

name : make-dummy-cert
#!/bin/sh
umask 077

answers() {
	echo --
	echo SomeState
	echo SomeCity
	echo SomeOrganization
	echo SomeOrganizationalUnit
	echo localhost.localdomain
	echo root@localhost.localdomain
}

if [ $# -eq 0 ] ; then
	echo $"Usage: `basename $0` filename [...]"
	exit 0
fi

for target in $@ ; do
	PEM1=`/bin/mktemp /tmp/openssl.XXXXXX`
	PEM2=`/bin/mktemp /tmp/openssl.XXXXXX`
	trap "rm -f $PEM1 $PEM2" SIGINT
	answers | /usr/bin/openssl req -newkey rsa:2048 -keyout $PEM1 -nodes -x509 -days 365 -out $PEM2 2> /dev/null
	cat $PEM1 >  ${target}
	echo ""   >> ${target}
	cat $PEM2 >> ${target}
	rm -f $PEM1 $PEM2
done

© 2025 UnknownSec
Health And Fitness Masterclass | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar
Health And Fitness Masterclass
Special Offer Discount
Day
Hr
Min
Sec
20% Off

Health And Fitness Masterclass

in Health & Fitness
5.00
(2 Ratings)
Created by Jessica Wray
3/5 Students

Report course

Please describe about the report short and clearly.

Share

Share course with your friends

Buy with points