Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3bc7bb4

Browse files
Update metanew.sh
1 parent fe69d04 commit 3bc7bb4

File tree

1 file changed

+1
-88
lines changed

1 file changed

+1
-88
lines changed

‎core/min/metanew.sh‎

Lines changed: 1 addition & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -47,102 +47,17 @@ sleep 4.0
4747
else
4848
echo
4949
fi
50-
if [[ $arc = "arm" ]];
51-
then
52-
echo -e "033円[92m"
53-
center "INSTALLING REQUIREED PACKAGES"
54-
echo -e "\e[34mPACKAGES BEING INSTALLED WAIT....\e[0m"
55-
###############################
56-
##### MAIN EXECUTION CODE #####
57-
###############################
58-
59-
cd $HOME
60-
61-
pkg install -y python python3 python2 autoconf bison clang coreutils curl findutils apr apr-util postgresql openssl readline libffi libgmp libpcap libsqlite libgrpc libtool libxml2 libxslt ncurses make ncurses-utils ncurses git wget unzip zip tar termux-tools termux-elf-cleaner pkg-config git ruby -o Dpkg::Options::="--force-confnew"
62-
63-
python3 -m pip install --upgrade pip
64-
65-
python3 -m pip install requests
66-
# Home directory
67-
68-
cd $HOME
69-
70-
sleep 10
71-
72-
git clone https://github.com/rapid7/metasploit-framework.git --depth=1
73-
74-
sleep 10
75-
76-
cd $HOME/metasploit-framework
77-
78-
source <(curl -sL https://github.com/termux/termux-packages/files/2912002/fix-ruby-bigdecimal.sh.txt)
79-
80-
cd $HOME/metasploit-framework
81-
82-
gem install bundler
83-
84-
cd $HOME/metasploit-framework
85-
86-
declare NOKOGIRI_VERSION=$(cat Gemfile.lock | grep -i nokogiri | sed 's/nokogiri [\(\)]/(/g' | cut -d ' ' -f 5 | grep -oP "(.).[[:digit:]][\w+]?[.].")
87-
88-
cd $HOME/metasploit-framework
89-
90-
gem install nokogiri -v $NOKOGIRI_VERSION -- --use-system-libraries
91-
92-
cd $HOME/metasploit-framework
93-
94-
bundle config build.nokogiri "--use-system-libraries --with-xml2-include=$PREFIX/include/libxml2"; bundle install
9550

96-
cd $HOME/metasploit-framework
97-
98-
gem install actionpack
99-
100-
cd $HOME/metasploit-framework
101-
102-
bundle update activesupport
103-
104-
cd $HOME/metasploit-framework
105-
106-
bundle update --bundler
107-
108-
cd $HOME/metasploit-framework
109-
110-
bundle install -j$(nproc --all)
111-
112-
cd $HOME/metasploit-framework
113-
114-
echo -e "\e[34mPACKAGES INSTALLED SUCCESSFULLY....[\e[92m✓\e[34m]\e[0m"
115-
echo -e "033円[92m"
116-
center "INSTALLING METASPLOIT"
117-
echo -e "\e[34mINSTALLING METASPLOIT....\e[0m"
118-
119-
elif [[ $arc = "aarch64" ]];
120-
then
121-
###############################
122-
##### MAIN EXECUTION CODE #####
123-
###############################
124-
125-
cd $HOME
126-
127-
pkg install -y python python3 python2 autoconf bison clang coreutils curl findutils apr apr-util postgresql openssl readline libffi libgmp libpcap libsqlite libgrpc libtool libxml2 libxslt ncurses make ncurses-utils ncurses git wget unzip zip tar termux-tools termux-elf-cleaner pkg-config git ruby -o Dpkg::Options::="--force-confnew"
51+
pkg install -y binutils python autoconf bison clang coreutils curl findutils apr apr-util postgresql openssl readline libffi libgmp libpcap libsqlite libgrpc libtool libxml2 libxslt ncurses make ncurses-utils ncurses git wget unzip zip tar termux-tools termux-elf-cleaner pkg-config git ruby -o Dpkg::Options::="--force-confnew"
12852

12953
python3 -m pip install --upgrade pip
13054

13155
python3 -m pip install requests
132-
# Home directory
13356

13457
cd $HOME
13558

136-
sleep 10
137-
13859
git clone https://github.com/rapid7/metasploit-framework.git --depth=1
13960

140-
sleep 10
141-
142-
cd $HOME/metasploit-framework
143-
144-
source <(curl -sL https://github.com/termux/termux-packages/files/2912002/fix-ruby-bigdecimal.sh.txt)
145-
14661
cd $HOME/metasploit-framework
14762

14863
gem install bundler
@@ -211,8 +126,6 @@ sleep 8.0
211126
cd $HOME/metasploit-framework
212127
clear
213128

214-
sleep 30
215-
216129
pwd
217130

218131
sleep 30

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /