แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - golfreeze

Pages: 1 ... 4 5 [6] 7 8 ... 73
76
เช่นถ้ามีโจทย์ว่าต้องการให้สร้าง list domain : *.hosting.pkl.com
ต้องทำการเพิ่ม โดเมนนี้ใน allowed_sub_domains.list ก่อน
/usr/local/directadmin/data/admin/allowed_sub_domains.list

vi allowed_sub_domains.list
ทำการเพิ่ม hosting.pkl.com ลงในไฟล์

chown diradmin:diradmin /usr/local/directadmin/data/admin/allowed_sub_domains.list

แล้วทำการเพิ่ม ลงไปใน directadmin.conf
check_subdomain_owner=1

for this domain, in case you want to use this domain for subdomain hosting (as full domains)

Ensure you chown the file to diradmin:diradmin.


If there is a match (starting from the top domain.com down, to sub.domain.com), then DA will check the subdomain.list file for domain.com (under the true owner, if that's on the box) and if a subdomain already  matches that name, the creation will abort.
The true domain's subdomains have priority if they already exists.

77
=> เจอ error "directadmin private_html Symbolic link not allowed or link target not accessible" ตอนที่เปิดใช้งาน ssl แล้วให้ symlink วิ่งไปจาก private_html -> public_html

ลองสังเกตดูที่ไฟล์ options.conf จะมีตัว
vi /usr/local/directadmin/custombuild/options.conf

harden_symlinks_patch=yes

ให้ทำการแก้ไขเป็น
harden_symlinks_patch=no

แล้วทำการ build apache ใหม่ครับ
cd /usr/local/directadmin/custombuild/
./build apache

ทำการเข้าเทส url https อีกรอบก็จะใช้งานได้ลนะครับผม

78
spiderfoot สำหรับตัวที่เป็น รวบรวมข้อมูลของเป้าหมายเชื่อมกับ threat intelligence มีทั้ง แบบฟรี และ subscription on cloud
https://www.spiderfoot.net/documentation/

79
==upgrade service first for custombuild to support new php version
cd /usr/local/directadmin/custombuild
./build update
./build all d
./build rewrite_confs

==Sample install of multiple php versions:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_release 7.1
./build set php2_release 5.6
./build set php3_release 7.0
./build set php4_release 7.3
./build set php1_mode php-fpm
./build set php2_mode php-fpm
./build set php3_mode php-fpm
./build set php4_mode php-fpm
./build php n
./build rewrite_confs

which will compile all of those php versions. Change the version numbers around as desired.
You need fewer than 4 php versions, set that given release to "no", eg:
./build set php4_release no
./build rewrite_confs


Requires php_version_selector=1 is set in the './directadmin c' output, which it should be by default.

80
ต้องทำการ install pip3 แล้วทำการ upgrade
pip3 install awscli --upgrade --user

===หลังจากลงแล้ว ก็จะรัน query
aws secretsmanager list-secrets --endpoint-url https://abc.ap-southeast-1.amazonaws.com

82
LELANTUS protocol
Anonymous Payment System

https://eprint.iacr.org/2019/373

Lelantus: Towards Confidentiality and Anonymity of Blockchain Transactions from Standard Assumptions

Aram Jivanyan

Abstract: We propose Lelantus, a new anonymous payment system which ensures both transaction confidentiality and anonymity with small proof sizes, short verification times and without requiring a trusted setup.

Inspired by the Zerocoin protocol, Lelantus extends the original Zerocoin functionality to support confidential transactions while also significantly improving on the protocol performance. Lelantus proof sizes are almost 17 times smaller compared to the original Zerocoin proof sizes. Moreover, we show how to support efficient aggregation of the transaction proofs, so that the proof verification, while asymptotically linear, is very efficient in practice.

Lelantus builds on the techniques of Confidential Transactions, Zerocoin and One-out-of-Many proofs and its efficiency is particularly well-suited for enabling private blockchain transactions with minimal trust required while employing well-studied cryptographic assumptions.

Category / Keywords: cryptographic protocols / Zero-knowledge Proofs, Confidential Transactions, Zcoin, One-out-of-Many Proofs, Double-blinded commitments, Bulletproofs, Lelantus, Private Transactions

Date: received 7 Apr 2019, last revised 3 Jun 2019

83
Zerocoin (as used by Zcoin)

Trusted Setup :
A trusted setup is a feature of both Zerocoin and Zerocash systems. It requires certain parameters to be generated, then destroyed. If not destroyed correctly, it allows someone to create coins out of thin air. While Zcoin uses parameters from a 20 year old academic factoring challenge, which reduces the chances of a backdoor, it is still an undesirable possibility which reduces trust in the system.

เปรียบเสมือนการสร้างเลขจำนวนเฉพาะขึ้นมา และ ทำการทำลาย แต่ถ้าทำลายไม่ได้หมดหรือไม่ถูกต้อง ก็สามารถทิ้งร่องรอยให้กับผู้ไม่ประสงค์ดี สามารถสร้างเหรียญขึ้นมายืนยันแทนเหรียญนั้นได้ ซึ่ง zcoin เองก็ได้พัฒนามาใช้เป็น Sigma protocol ซึ่งไม่จำเป็นต้องใช้ตัว trusted setup อีกต่อไป

https://zcoin.io/lelantus-zcoin/

84
===passwordless with multi factor authentication by doubleoctopus
https://doubleoctopus.com/solution/cloud-applications/saml/cloudflare/

85
hitachikaihin ดอกฟิลาดิเฟีย 三田駅 ดูรอบดอกไม้ได้ก่อนที่เว็บ
https://hitachikaihin.jp/

87
==install php-mcrypt module on php7.2 centos7 directadmin
cd /usr/local/src
rm -rf mcrypt-*
/usr/local/php72/bin/pecl channel-update pecl.php.net
/usr/local/php72/bin/pecl download mcrypt || /usr/local/php72/bin/pecl download channel://pecl.php.net/mcrypt-1.0.1
tar -zxvf mcrypt-*.tgz && cd mcrypt-*/
/usr/local/php72/bin/phpize
./configure --with-php-config=/usr/local/php72/bin/php-config
make && make install
echo "extension=mcrypt.so" >> /usr/local/php72/lib/php.conf.d/90-custom.ini

==test
/usr/local/php72/bin/php -i | grep ^mcrypt

mcrypt
mcrypt support => enabled
mcrypt_filter support => enabled
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value

special thank : https://help.poralix.com/articles/install-mcrypt-for-php-72-on-directadmin-server

88
Unable to connect to any site for a license update on directadmin

=== client-id=123 , license-id=1234
cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234
service directadmin restart

https://help.directadmin.com/item.php?id=30

89
I wish to automate new DMARC records for all new domains

If you like the above setup, and you want to automate it's addition to all new dns zones, you can run the following:
cd /usr/local/directadmin/data/templates/
mkdir custom
cd custom
cp ../dns_txt.conf .

and then add the record you want to the bottom of the custom/dns_txt.conf by running this command:
echo '_dmarc="v=DMARC1; p=none; sp=none; rua=mailto:spam-reports@|DOMAIN|"' >> dns_txt.conf

keeping in mind that this assumes you've got a spam-reports account created already.

==reference site
https://help.directadmin.com/item.php?id=596

90
https://help.directadmin.com/item.php?id=569
Assumes you've got /etc/exim.conf 4.5.x or newer.
Turn it on
#cd /usr/local/directadmin
#./directadmin set dkim 1

Enable it in the exim configs and exim:
cd /usr/local/directadmin/custombuild
#./build update
#./build exim
#./build eximconf

Turn it on required domains
#cd /usr/local/directadmin/scripts
#./dkim_create.sh domain.com

Pages: 1 ... 4 5 [6] 7 8 ... 73