Defect another world
Chapter 96 The main control computer that keeps crashing
Chapter 96 The main control computer that keeps crashing
Meng Fei turned his head, walked across the stormy deck, and walked towards the cab.
"Sorry, Mr. Meng, the captain is dealing with the ship's fault, please wait in the lounge temporarily."
A male waiter politely stood in front of him.
Meng Fei ignored him and continued to take two steps forward.
In addition to the male waiter, two other security guards in uniform rushed over, and the three blocked the front together.
Interestingly, both security guards had guns in their hands.
Not a pistol, but a shotgun often used for escorts, the size of a submachine gun, with a thick barrel.
Although this thing has a limited range, it is extremely powerful in melee combat within ten meters.
Qingmang country's gun management is extremely strict.Not everyone is qualified to carry a gun, even a security guard.They are the escort security guards of the security company.
Ai's family treats the yachts as escort ships, and treats each trip the same as the bank's cash delivery car.
It was precisely because Meng Fei knew that the Ai family's strength was sufficient to ensure safety that he took the risk of being chased and killed on this ship.
"Mr Meng, according to the Maritime Safety Traffic Law, tourists without appropriate licenses are prohibited from entering the cockpit of a moving boat."
One of the security guards warned in a serious tone.
Before Meng Fei could answer, Ai Ting walked out from behind him and showed her police badge.
"We are investigators from the Bureau of Investigation, and we suspect that someone has sabotaged equipment and hijacked the ship. We need to go into the wheelhouse to investigate."
According to the "Supernatural Powers Law", the investigators who investigate supernatural powers are equivalent to the police officers who deal with supernatural power cases.
If they encounter a case where it is temporarily impossible to judge whether or not an ability is involved, they can directly intervene.Even if it's wrong, it can be handed over to the Criminal Investigation Bureau afterwards.
"This……"
The three got out of the way, and Meng Fei pushed open the door and walked in.
It would be inaccurate to say that the captain was dealing with the breakdown.
The first mate was busy trying to lower the anchor outside with the crew door, while the captain was lying half alone on the wheelhouse sofa, looking at his phone.
When he saw someone came in, he put his phone away.Originally wanted to chase people away, but saw Ai Ting showing her police badge in her left hand and holding a gun in her right hand.
"What's wrong with the ship?" Meng Fei asked.
"Don't look at it, I have issued a rescue signal, just wait for the rescue."
The captain answered flatly.
In this cockpit, he is the only expert, and he can completely ignore other people's suggestions.From this point of view, the badge is not very useful.
"Why don't you look at it? Can't you fix the fault?"
"Everything else is fine, but the main control computer has a problem.
"That thing hasn't broken since I started this boat.
"Now that it's broken, it can only be replaced, not repaired. We have no conditions for replacement here."
For the captain, the main control computer controls the communication, navigation, power, and almost everything that can be controlled on the ship. It is a truly magical thing.
Usually he only needs to fill in the parameters, and it seems that it will never be broken.
If it is really broken, ask someone to pull it out with a click, and then replace it with a new one.
It's a black box that never needs to be opened.When the lid is opened, even the gods don't know what's inside.
"Where is the master computer?"
Meng Fei asked.
"Here, here."
The captain walked over and opened the door of the waterproof rack under the main console, with a smile on his face:
"Just look at it, you're welcome."
If you don't say anything in the last sentence, it's useless no matter how you look at it.
Meng Fei really took a look.
A high-end blade-type industrial computer with four redundant backups, which are inserted into the rack.
This type of machine is said to be waterproof, shockproof and dustproof, and it can be turned on normally when it is soaked in water.The prices are ridiculously high, but the stuff inside is ridiculously cheap and simple.
Simpler things are less prone to breakage, especially if they are quadruple redundant.Any one of the four machines hangs will not affect it.
But the power lights of these four machines are all on, except the console is dark, the legendary brick.
Meng Fei pressed the restart button on one of them.The hard drive creaked for a few seconds, then turned off again.
"scanning."
If four machines become bricked at the same time, then all four machines have the same BUG.This is not impossible.
But if you want the bugs of the four machines to happen at the same time, you need a certain coincidence or special arrangement.
His system scan function is completely different now than it was at the beginning.
When he first crossed, the scan of the strongest bug system had nothing to do with him.Now, every line of code and every instruction that the system has scanned will appear in his mind.
Of course, being able to see the code is one thing, and being able to understand it is another.
He often boasts of being one of the strongest programmers in human history, but when tens of thousands of lines of code are thrown in front of him, he absolutely cannot understand it within a few seconds.
But it doesn't matter, the strongest BUG system locates the problem instantly.So all he sees is the wrong code.
He also helped him reverse the machine code into C.
//The memory used to accept the extended buffer
unsigned char *ext_buf = NULL;
/ / Determine whether the received notification has extended attributes
if(notify->type & NT_TYPE_EXT){
//If there is, copy the extended buffer
memcpy(ext_buf,
notify->ext_buf,
notify->ext_buf_len);
}
This is a super obvious bug.
Because the memory of ext_buf is not allocated at all, if you receive an extension notification with an extension tag in the type, the data will be copied to the null pointer, which will undoubtedly crash.
But why does the captain say he has never broken since he sailed?
The reason seems to be simple, as the ship has never been notified of this type of extension.
It will never crash as long as the type in the received notification is not marked with NT_TYPE_EXT.
But now these four master computers can not start.In fact, they are not really unable to get up.
Rather, as soon as they start, they quickly receive a notification with this rare attribute, then crash and restart automatically.
After repeated restarts, they automatically enter a permanent shutdown state, requiring manual power-on.
In other words, someone is constantly sending messages to the ship to crash its master computer!
"Is this ship communicating with Zhangdao?" Meng Fei asked.
"Of course, the yacht command center in Zhangdao will continue to send requests to inquire about the position, course and speed of this boat, and it will be recorded automatically every day."
The captain raised his eyes and looked at Meng Fei, thinking that this guy can solve such an impossible problem with just a pair of eyes and a pair of empty hands?
"Where's the signal receiver? Turn it off."
Meng Fei said in a commanding tone.
The main control computer is obviously bricked, but it asks me to turn off the signal receiver?
It is so absurd and ridiculous to have a so-called power investigator come to repair the ship.
The captain walked to the main console a little impatiently and flipped a mechanical switch to forcibly cut off the power to the signal receiver in the command center.
"What is the use?"
He looked at the so-called investigator in front of him with playful eyes, trying to see how embarrassed he was in vain.
Meng Fei ignored him and pressed the start button of the main control computer again.
If the system repair is used, he can solve this problem in an instant.But he wanted to make sure that it was the signal from Zhangdao that triggered the bug.
If this is the case, then investigate the yacht command center, who and why started sending this signal, maybe you can dig out more things.
Although Ai Ting said that she was not interested in her father's property, it did not mean that the gangsters on Zhangdao would not take her as their enemy.
Instead of being beaten passively and not fighting back, it is better to seize this clue, expose the truth, and fight back fiercely!
(End of this chapter)
Meng Fei turned his head, walked across the stormy deck, and walked towards the cab.
"Sorry, Mr. Meng, the captain is dealing with the ship's fault, please wait in the lounge temporarily."
A male waiter politely stood in front of him.
Meng Fei ignored him and continued to take two steps forward.
In addition to the male waiter, two other security guards in uniform rushed over, and the three blocked the front together.
Interestingly, both security guards had guns in their hands.
Not a pistol, but a shotgun often used for escorts, the size of a submachine gun, with a thick barrel.
Although this thing has a limited range, it is extremely powerful in melee combat within ten meters.
Qingmang country's gun management is extremely strict.Not everyone is qualified to carry a gun, even a security guard.They are the escort security guards of the security company.
Ai's family treats the yachts as escort ships, and treats each trip the same as the bank's cash delivery car.
It was precisely because Meng Fei knew that the Ai family's strength was sufficient to ensure safety that he took the risk of being chased and killed on this ship.
"Mr Meng, according to the Maritime Safety Traffic Law, tourists without appropriate licenses are prohibited from entering the cockpit of a moving boat."
One of the security guards warned in a serious tone.
Before Meng Fei could answer, Ai Ting walked out from behind him and showed her police badge.
"We are investigators from the Bureau of Investigation, and we suspect that someone has sabotaged equipment and hijacked the ship. We need to go into the wheelhouse to investigate."
According to the "Supernatural Powers Law", the investigators who investigate supernatural powers are equivalent to the police officers who deal with supernatural power cases.
If they encounter a case where it is temporarily impossible to judge whether or not an ability is involved, they can directly intervene.Even if it's wrong, it can be handed over to the Criminal Investigation Bureau afterwards.
"This……"
The three got out of the way, and Meng Fei pushed open the door and walked in.
It would be inaccurate to say that the captain was dealing with the breakdown.
The first mate was busy trying to lower the anchor outside with the crew door, while the captain was lying half alone on the wheelhouse sofa, looking at his phone.
When he saw someone came in, he put his phone away.Originally wanted to chase people away, but saw Ai Ting showing her police badge in her left hand and holding a gun in her right hand.
"What's wrong with the ship?" Meng Fei asked.
"Don't look at it, I have issued a rescue signal, just wait for the rescue."
The captain answered flatly.
In this cockpit, he is the only expert, and he can completely ignore other people's suggestions.From this point of view, the badge is not very useful.
"Why don't you look at it? Can't you fix the fault?"
"Everything else is fine, but the main control computer has a problem.
"That thing hasn't broken since I started this boat.
"Now that it's broken, it can only be replaced, not repaired. We have no conditions for replacement here."
For the captain, the main control computer controls the communication, navigation, power, and almost everything that can be controlled on the ship. It is a truly magical thing.
Usually he only needs to fill in the parameters, and it seems that it will never be broken.
If it is really broken, ask someone to pull it out with a click, and then replace it with a new one.
It's a black box that never needs to be opened.When the lid is opened, even the gods don't know what's inside.
"Where is the master computer?"
Meng Fei asked.
"Here, here."
The captain walked over and opened the door of the waterproof rack under the main console, with a smile on his face:
"Just look at it, you're welcome."
If you don't say anything in the last sentence, it's useless no matter how you look at it.
Meng Fei really took a look.
A high-end blade-type industrial computer with four redundant backups, which are inserted into the rack.
This type of machine is said to be waterproof, shockproof and dustproof, and it can be turned on normally when it is soaked in water.The prices are ridiculously high, but the stuff inside is ridiculously cheap and simple.
Simpler things are less prone to breakage, especially if they are quadruple redundant.Any one of the four machines hangs will not affect it.
But the power lights of these four machines are all on, except the console is dark, the legendary brick.
Meng Fei pressed the restart button on one of them.The hard drive creaked for a few seconds, then turned off again.
"scanning."
If four machines become bricked at the same time, then all four machines have the same BUG.This is not impossible.
But if you want the bugs of the four machines to happen at the same time, you need a certain coincidence or special arrangement.
His system scan function is completely different now than it was at the beginning.
When he first crossed, the scan of the strongest bug system had nothing to do with him.Now, every line of code and every instruction that the system has scanned will appear in his mind.
Of course, being able to see the code is one thing, and being able to understand it is another.
He often boasts of being one of the strongest programmers in human history, but when tens of thousands of lines of code are thrown in front of him, he absolutely cannot understand it within a few seconds.
But it doesn't matter, the strongest BUG system locates the problem instantly.So all he sees is the wrong code.
He also helped him reverse the machine code into C.
//The memory used to accept the extended buffer
unsigned char *ext_buf = NULL;
/ / Determine whether the received notification has extended attributes
if(notify->type & NT_TYPE_EXT){
//If there is, copy the extended buffer
memcpy(ext_buf,
notify->ext_buf,
notify->ext_buf_len);
}
This is a super obvious bug.
Because the memory of ext_buf is not allocated at all, if you receive an extension notification with an extension tag in the type, the data will be copied to the null pointer, which will undoubtedly crash.
But why does the captain say he has never broken since he sailed?
The reason seems to be simple, as the ship has never been notified of this type of extension.
It will never crash as long as the type in the received notification is not marked with NT_TYPE_EXT.
But now these four master computers can not start.In fact, they are not really unable to get up.
Rather, as soon as they start, they quickly receive a notification with this rare attribute, then crash and restart automatically.
After repeated restarts, they automatically enter a permanent shutdown state, requiring manual power-on.
In other words, someone is constantly sending messages to the ship to crash its master computer!
"Is this ship communicating with Zhangdao?" Meng Fei asked.
"Of course, the yacht command center in Zhangdao will continue to send requests to inquire about the position, course and speed of this boat, and it will be recorded automatically every day."
The captain raised his eyes and looked at Meng Fei, thinking that this guy can solve such an impossible problem with just a pair of eyes and a pair of empty hands?
"Where's the signal receiver? Turn it off."
Meng Fei said in a commanding tone.
The main control computer is obviously bricked, but it asks me to turn off the signal receiver?
It is so absurd and ridiculous to have a so-called power investigator come to repair the ship.
The captain walked to the main console a little impatiently and flipped a mechanical switch to forcibly cut off the power to the signal receiver in the command center.
"What is the use?"
He looked at the so-called investigator in front of him with playful eyes, trying to see how embarrassed he was in vain.
Meng Fei ignored him and pressed the start button of the main control computer again.
If the system repair is used, he can solve this problem in an instant.But he wanted to make sure that it was the signal from Zhangdao that triggered the bug.
If this is the case, then investigate the yacht command center, who and why started sending this signal, maybe you can dig out more things.
Although Ai Ting said that she was not interested in her father's property, it did not mean that the gangsters on Zhangdao would not take her as their enemy.
Instead of being beaten passively and not fighting back, it is better to seize this clue, expose the truth, and fight back fiercely!
(End of this chapter)
You'll Also Like
-
People are in Bengtie, join the chat group
Chapter 413 3 hours ago -
Special Forces: Fusion of Death Shot, Support for Long Xiaoyun!
Chapter 190 3 hours ago -
Spoilers from the original Spider-Man
Chapter 355 7 hours ago -
Full-time Swordsman
Chapter 1765 7 hours ago -
Slashing God: Forging Zanpakutō for Zhao Kongcheng with one punch
Chapter 206 7 hours ago -
Naruto: After unifying the ninja world, I invaded the parallel ninja world
Chapter 306 7 hours ago -
The villain who travels through the book, this time the heroine has her own system?
Chapter 996 7 hours ago -
Comprehensive comics, starting from Demon Slayer, fusion of Gojo Satoru template
Chapter 138 7 hours ago -
The author of the depressing comic book series makes the heroine cry
Chapter 323 7 hours ago -
Super God: Alliance system, summon nurse at the beginning
Chapter 199 15 hours ago