I asked her about the four colours which the beast had on his head. And she answered, and said to me, “Again you are inquisitive in regard to such matters.” “Yea, Lady,” said I, “make known to me what they are.” “Listen,” said she: “the black is the world in which we dwell: but the fiery and bloody points out that the world must perish through blood and fire: but the golden part are you who have escaped from this world. For as gold is tested by fire, and thus becomes useful, so are you tested who dwell in it. Those, therefore, who continue steadfast, and are put through the fire, will be purified by means of it. For as gold casts away its dross, so also will you cast away all sadness and straitness, and will be made pure so as to fit into the building of the tower. But the white part is the age that is to come, in which the elect of God will dwell, since those elected by God to eternal life will be spotless and pure. Wherefore cease not speaking these things into the ears of the saints. This then is the type of the great tribulation that is to come. If you wish it, it will be nothing. Remember those things which were written down before.” And saying this, she departed. But I saw not into what place she retired. There was a noise, however, and I turned round in alarm, thinking that that beast was coming.
Concerning the Commandments.
After I had been praying at home, and had sat down on my couch, there entered a man of glorious aspect, dressed like a shepherd, with a white goat's skin, a wallet on his shoulders, and a rod in his hand, and saluted me. I returned his salutation. And straightway he sat down beside me, and said to me, “I have been sent by a most venerable angel to dwell with you the remaining days of your life.” And I thought that he had come to tempt me, and I said to him, “Who are you? For I know him to whom I have been entrusted.” He said to me, “Do you not know me?” “No,” said I. “I,” said he, “am that shepherd to whom you have been entrusted.” And while he yet spoke, his figure was changed; and then I knew that it was he to whom I had been entrusted. And straightway I became confused, and fear took hold of me, and I was overpowered with deep sorrow that I had answered him so wickedly and foolishly. But he answered, and said to me, “Do not be confounded, but receive strength from the commandments which I am going to give you. For I have been sent,” said he, “to show you again all the things which you saw before, especially those of them which are useful to you. First of all, then, write down my commandments and similitudes, and you will write the other things as I shall show you. For this purpose,” said he, “I command you to write down the commandments and similitudes first, that you may read them easily, and be able to keep them.” Accordingly I wrote down the commandments and similitudes, exactly as he had ordered me. If then, when you have heard these, you keep them and walk in them, and practice them with pure minds, you will receive from the Lord all that He has promised to you. But if, after you have heard them, you do not repent, but continue to add to your sins, then shall you receive from the Lord the opposite things. All these words did the shepherd, even the angel of repentance, command me to write.
Source: The Pastor (or "The Shepherd") (New Advent)